Closures coming to Java 1.7?

Gilad Bracha, Neal Gafter, James Gosling and Peter von der Ah√© have written a proposal to include ‘closures’, a feature common in dynamic languages, in the Java 1.7 release.

Closures allow you to refer to blocks of code as a variable and pass references to them between methods.

Read more in Dejan Bosanac’s blog here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.