A interesting talk by Neal Gafter. Neal explains some of the problems with using anonymous inner classes and how closures will address those. With closures for Java being sold to developers it seems like they are much closer to being added to the official language specification. Yippie!
References from the talk:
- http://www.javac.info
- http://gafter.blogspot.com/
- http://blogs.sun.com/ahe/
- http://blogs.sun.com/gbracha/entry/achieving_closure
- http://blogs.sun.com/jag/entry/the_black_hole_theory_of
- http://en.wikipedia.org/wiki/Closure_(computer_science)
Seems from Neal’s resume that closures are indeed “proposed for inclusion in JDK7” :)