This post originated from an RSS feed registered with Java Buzz
by Weiqi Gao.
Original Post: Closures In Java 7: It's On Again
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Alex Miller: Apparently Mark Reinhold announced that closures would be added to JDK 7 at Devoxx today:
I am, well, surprised. Having commented on closures in Java somewhat verbosely in the past, I don't have any words left in me about this topic, except "whatever!"
I'll believe it when I see it. Remember, they promised XML literals for Java 7, and I'm still bitter that they dropped it. :(
Coincidentally, Neal Gafter, of Microsoft dotNet platform languages group, posted a simplified proposal for Closures for Java (v0.6a).
For those who don't follow my blog, my position has always been:
Not adding closure to Java will kill Java
The death (or the absence of evolution) of Java the language will render the JVM the platform anemic
An anemic JVM platform will suffocate parasitic JVM languages like Scala and Groovy while at the same time decrease its attractiveness as an alternative implementation platform for other scripting languages (JRuby, Jython, etc.)
So, it's a Good Thing™.
[Update] I consulted the I Ching, the ancient Chinese Oracle, on the meaning of this matter, and received the following gua: