Friday, July 09, 2010

A new syntax for Java closures/lambdas

I'm surprised this isn't making more news.  Brian Goetz of Oracle has posted a dramatic revision of Java 7's Project Lambda.   The syntax is much less noisy than the original version, thanks to a lot more type inference for parameters and return types.  I'm also really happy with how accessible the document is - the document is very readable, even for a "blue-collar" Java developer like me.