Category Archives: closures

I want closures “bolted on to Java”

After seeing Blochs’ session on Javapolis last year and some of the Java 7 sessions at JavaOne this year I gave up on closures in Java. I just didn’t believe that they would be part of Java 7 anymore. I … Continue reading

Posted in closures, java | 11 Comments

Closures and the return of the return

I attended Joshua Blochs’ presentation on closures at JavaPolis last week (watch the video here). This slides about return not return from what you’d expect kept me wondering: how do other languages solve this ‘problem’. The example from Bloch, taken … Continue reading

Posted in closures, java, ruby | 13 Comments