By rick
via ncoffee.de
Published: Jun 01 2009 / 00:11
When I re-pick-up Java, after having dealt with really different programming languages in the months before, I encounter these moments of “damn-you-know-this”. So when I came back to java this time, I recorded my top five missing Java pieces.





Comments
kjordan2001 replied ago:
Example for ternary is wrong. Should be:
They can also be nested:
Rob Signorelli replied ago:
This complaint also makes it sound like most other mainstream languages don't have this operator as well with the exact same syntax. Python's the only one I can think of off the top of my head that doesn't have this or something almost exactly like it. So I'm not sure how this becomes so easy to forget if you never leave it behind...
p3t0r replied ago:
"I now its stupid but I do sometimes forget how to get the number of command line parameters: args.length;"
really... dude...
brisssou replied ago:
this blog entry sucks at being interesting and useful...
pintodragon replied ago:
Example for making an int from a String is wrong as well.
Should be:
Integer.valueOf will return an Integer object not an int primitive.
newton_dave replied ago:
We've had autoboxing for awhile now.
cgnjjj replied ago:
The errors mentioned above seem to be fixed...
Voters For This Link (9)
Voters Against This Link (20)