Advanced Topics In Programming Languages: Closures For Java

Google Tech Talks January 17, 2007 ABSTRACT We propose to add Closures to the Java Programming Language. Closures simplify the use of APIs that rely on anonymous class instances, such as the concurrency APIs and callbacks. More importantly, closures support control abstractions, which are APIs that act as programmer-defined control constructs. This talk describes the proposed language extension and its design rationale, and shows how it will affect existing and future APIs. Credits: Speaker:Neal Gafter
Video Rating: 4 / 5

This entry was posted in Programming and tagged , , , , , . Bookmark the permalink.

13 Responses to Advanced Topics In Programming Languages: Closures For Java

  1. SuperToughnut says:

    Over five years later and Java still doesn’t have closures. Thankfully, Scala has closures and it runs on the JVM.

  2. mphello says:

    The ONLY times in my life that I enjoyed and did well in programming were in my 3 formal computer science courses in college: 1 in Fortran (1981) and 2 in C++ (2005). Outside that very formal structured education, I NEVER programmed. The only thing that I took away from C++ is an appreciation of object-oriented thinking, which has inspired me to write my own math models, but NOTHING to do directly with computers. Bottom line: I LOVE math proofs, LOVE math modeling, HATE computer programming.

  3. mphello says:

    Amen! I’m trying to learn it now. I read a huge book on it – by Dietel and Dietel (2003) called “How to Program” – from beginning to end. Bright colorful book. At the end of it, I have ZERO clue how to program.

  4. ForgotenDevelopment says:

    Am i the only one who wanted to beat that guy who asked the stupid question at about 44 mins completely ruined the entire flow of an amazing lecture.

  5. can1neperson says:

    Java’s godawful.

  6. mac7915 says:

    The topic is great

  7. smasterross says:

    Just so everyone knows, when Neal begins to talk about closables at 1:12:37 he gives the C# keyword “with” as an example. I believe he actually meant the “using” keyword. The C# language doesn’t have a “with” keyword. Overall a fantastic presentation showcasing the technicalities and applications of closures.

  8. noicereaver says:

    Funny thing is that many languages have these for years already… But for java it is so hard, because of how it’s working.

  9. berlinbrown03 says:

    On the performance profiling, he could have used aspected oriented routines.

  10. MrRichersoon says:

    I saw the jdk 7, it supposedly release this year, but sadly it is included in the jdk7 features.. how sad

  11. textsaurabh says:

    great concept addition if it is added in Java 7 without any performance impacts. Liked the way of explanation. LIKE (KUDOS to the speaker)

  12. IAmMediocreAtBest says:

    ahhh I hate these talks. Their ideas are so great YET JAVA NEVER IMPLEMENTS THEM

  13. IAmMediocreAtBest says:


Leave a Reply