Sneak Peak at Java's New Makeover
SadatChowdhury writes "Aside from templates as already reported in a past slashdot article , a little snooping around revealed the details of the following newly revealed features in the upcoming release of Java 1.5 (codenamed: Tiger) : Autoboxing , Enhanced-For-Loop, Enumerations and Static Imports . Must read for Java fans."
In related news: jdkane writes "Sun Microsystems delays a much-anticipated Java specification by three months to comply with guidelines designed to keep Web services interoperable. Says Ralph Galantine, group marketing manager for Java Web services at Sun: "We thought that this change was important for the industry, so that there was no conflict between J2EE 1.4 and the WS-I, "We thought it was worth taking out to the summer." It's very refreshing to hear that a big software company is looking out for the industry, instead of just their own."
The new for kind of blows. Why bother with inventing another chunk of syntax (furthering Java's complication and ugliness) rather than use existing metaphors?
If only Java had anonymous functions, it would be easier to make it a tolerable language. One could always use anonymous classes, but who would rather type 5 lines instead of one to achieve the same thing with the new for? It would be a lot more conceptually consistent, but I guess the JCP doesn't want to give in and make Java a good language.
Working toward a usable PDA environment in the spirit of Newton OS: Dynapad