4 ms·
I am astounded that in response to proposals to add closures to Java, many Java programmers protested that Java didn't need no stinkin' closures.
by sethg 18y ago
I am astounded that in response to proposals to add closures to Java, many Java programmers protested that Java didn't need no stinkin' closures.
- jimbokun 18y agoI agree that Java suffers greatly from the absence of closures. However, I also fear that Java is designed in such a way, and has so much existing code, that it may be near impossible to add closures in a way that isn't confusing and doesn't break in unexpected ways. Joshua Bloch thoroughly covers the relevant issues in these PowerPoint slides. http://www.javac.info/bloch-closures-controversy.ppt http://www.javac.info/bloch-closures-controversy.ppt (I'm pretty sure the video is online too, if you Google a little more than I did.)