3 ms·
James Gosling supports closures in Java
- huherto 19y agoClosures would be nice in Java.
- stcredzero 19y agoIt's a big missing feature in Java and Python.
- raganwald 19y agoI thought Python had lambdas, albeit restricted to expressions, which in turn are restricted to single lines?
- inklesspen 19y agoYou can easily do closures in Python.
- jonnytran 19y agoGreat. According to Neal Gafter's blog http://gafter.blogspot.com/2006/08/closures-for-java.html 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.
- deleted 19y ago[deleted]