Wednesday, November 25, 2009

Closures in for Java 7

The debate over closures in Java 7 is over-ish. Over in the sense that it is going into Java 7 (now the deadline is revised  - now back to Sept 2010). Not over, in the any sense because none of the current three proposals are deemed wholly adequate. See InfoQ: Mark Reinhold on Closures for Java.  What we need is a "simple" closures. Well who can argue with "simple". From the people who brought you Java 5 generics.....

Bob Lee thinks that it may have something to do with Java 7's focus on parallelism (fork/join/current-work). Adding closure support would sure reduce the boiler-plate.


0 Comments:

Post a Comment

<< Home