Does Java need closures?

Posted by Bill the Lizard on Stack Overflow See other posts from Stack Overflow or by Bill the Lizard
Published on 2008-09-08T17:38:18Z Indexed on 2010/03/18 20:01 UTC
Read the original article Hit count: 696

Filed under:
|

I've been reading a lot lately about the next release of Java possibly supporting closures. I feel like I have a pretty firm grasp on what closures are, but I can't think of a solid example of how they would make an Object-Oriented language "better". Can anyone give me a specific use-case where a closure would be needed (or even preferred)?

© Stack Overflow or respective owner

Related posts about java

Related posts about closures