Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
James Gosling supports closures in Java (sun.com)
7 points by iamelgringo on Feb 1, 2008 | hide | past | favorite | 5 comments


Great. According to Neal Gafter's blog http://gafter.blogspot.com/2006/08/closures-for-java.html there will be a java.lang.Null class to handle the type of null. Talk about putting the cart before the horse.

...But I guess that's what happens when you have to worry about backward-compatibility.


Closures would be nice in Java.


It's a big missing feature in Java and Python.


You can easily do closures in Python.


I thought Python had lambdas, albeit restricted to expressions, which in turn are restricted to single lines?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: