BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News InfoQ Interview: Joshua Bloch on Closures, Needed Java Features, Google

InfoQ Interview: Joshua Bloch on Closures, Needed Java Features, Google

In this video interview, recorded at the Javazone conference in Norway, Core Java language designer Joshua Bloch talks with InfoQ about the need for Closures, Functional Programming, Java's need for better resource management, Java Puzzlers, and cool stuff Google is doing with Java.

Watch  Joshua Bloch's Interview (17 min).

Joshua Bloch implemented the Java Collections Framework and is the author of Effective Java and Java Puzzlers. He now works at Google where he is in charge of all their Java infrastructure.

On Closures, Joshua comments:
I think closures in java are a good thing. We've basically had them since 1.1 in the form of anonymous class instances and those are a bit clunky so I definitely see a place for improvement support for closures; on the other hand some of the proposals that I've seen floating around are overly complex...If we add more support for closures I think it has to be in the spirit of the current support, which means that closures should take the form of instances, of types that have a single abstract method, whether they are interface types such as Runnable , or class types such as TimerTask...

Rate this Article

Adoption
Style

BT