The NurflugelBlog is a place where I can vent my spleen about pretty much anything that crosses my mind. Politics, religion, those annoying little indignities we all have to put up with - I have plenty to say about them.

Location: United States

Tuesday, June 02, 2009

TS-4060 Small Language Changes in JDK Release 7

Project Coin was created to deal with the many requests for small changes in Java
  • I love it - the "Elvis" operator - Integer i = getValue() ?: getNonNullValue();
  • This will use the first arg, unless the result is null - then it uses the second.
  • Simplified varargs
  • Using strings in switch statements
I'd hoped the talk would delve more into these changes, but most of it was dedicated to detailing how to make changes to the language and the problems associated with it... Oh, well...


Post a Comment

Subscribe to Post Comments [Atom]

<< Home