« A must have.. | Main | Targeted advertising »

New Java features

Catching up on my reading this morning and ran across this on slashdot.

Boxing will be incredibly handy.. I use that all the time (as I imagine most Java programmers do).. Generics (yucky term) will save me headaches from necessary-bad-design to sidestep the lack of this feature in current versions of Java. Big thumbs up for static imports as well!

This will be great.. I can hardly wait!

Comments

these all look pretty cool, but the 'enhanced for loop' syntax looks kind of lame... i mean if it's a 'foreach' loop, you might as well call it 'foreach' instead of overloading 'for' with some weird syntax.

hm, yah, I'm not sure what to think of that one.. It will simplify iteration.. but the syntax doesn't appear very intuitive which may make it counterproductive.

none of the proposed changes, are at all necessary, if these things are problems for programmers maybe they should rethink how they are writing their code in the first place or write convenience methods.

Most of it sounds like it was suggested by C programmers or other.