Joshua Bloch interview on new features in Java 1.5. (from the LtU discussion group)
[Lambda the Ultimate]
Really great interview that reveals some of the new features in the upcoming J2SE 1.5. I can't wait to get generics. This is going to be a huge win for simplicity and readability. I'm ready to stop casting whenever possible.
I thought that it was interesting that instead of adding new keywords "foreach" and "in", they've chosen a syntax that looks like "for(Object o: c)". Joshua says that adding new keywords is destabilizng - older code will break if programmers have used those keywords for variables or other identifiers. Is it me - doesn't this seem like a weak reason for not introducing the keywords and introducing new syntax? I DEFINITELY appreciate the addition, though.
Bring on the 1.5!! It will probably be a couple of years before I get to use it on a project, though. Seems like corporations always want to stay 2 versions behind.
12:36:39 PM
|