This post originated from an RSS feed registered with Scala Buzz
by Ricky Clarkson.
Original Post: Java Just Died (no closures in Java 7)
Feed Title: Ricky's technical blog
Feed URL: http://rickyclarkson.blogspot.com/feeds/posts/default
Feed Description: A blog about programming languages, and Java.
So it's confirmed. Despite James Gosling wanting closures, despite 3 working closure prototype compilers, despite every other JVM language supporting closures, Java 7 will not have closures.
while (true)
print("new Runnable() { public void run() { ")
Frankly, I'm pissed off. I'm sure Java dying will kill the JVM too, ultimately.
In the meantime, there's Scala. But the Java community will probably prefer Groovy, because it has learned from Java that types are hard.