News for hackers. Stuff that matters.
Re:Java 7: Oracle pushes a first version of closures by ericlavigne on Monday May 31, 2010 @07:30PM (#1393787)
Closing only over final variables is deliberately a requirement because closing over non-final variables can lead to confusing situations. I discussed this in more detail in a previous thread:

http://news.ycombinator.com/item?id=1257599

Good point regarding the effect on interoperability. I don't have an answer for that.

There are no comments on this comment yet.