BT

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

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

Bookmarks
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

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • "Bio" correction

    by Neal Gafter /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    > Joshua Bloch implemented the JDK 5.0 language enhancements

    Correction: the JDK 5.0 language enhancements were largely implemented by me alone (Neal Gafter), except for Generics for which I collaborated with Martin Odersky, Mads Torgersen, Peter von der Ahe, Christian Plesner Hansen, and Erik Ernst. I also added generics support to (i.e. retrofitted) the existing collections classes and core APIs. Joshua contributed some of the language support libraries, most notably the libraries supporting annotations.

  • Re: "Bio" correction

    by Floyd Marinescu /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Hi Neal, the bio has been corrected. Thanks.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.