Re:Java 7: Oracle pushes a first version of closures
by RodgerTheGreat on Monday May 31, 2010 @04:28PM
(#1393407)
Well, the alternative is adding a new keyword, and it's difficult to do that without risking breaking any existing code that uses whatever identifier they choose. Breaking old code is even less "Java" than introducing new symbols.
edit: Actually, now that I think about it, this wouldn't be the first time they introduced a new keyword with a language update. So much for that argument:
edit: Actually, now that I think about it, this wouldn't be the first time they introduced a new keyword with a language update. So much for that argument:
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_k...