All content and news on InfoQ about Closures
Latest featured content about Closures

- Java
- Topics
- Language Design,
- Language
In this interview from QCon London 2008, Neal Gafter discusses upcoming language features in Java 7, superpackages, what closures are, the differences between the three major closures proposals (CICE, FCM and BGGA), optional typing systems for dynamic languages, and the next major language.
-
By Neal Gafter
on Aug 11, 2008,

- Java
- Topics
- Programming
Core Java language designer Joshua Bloch talks about the need for Closures, Functional Programming, Java's need for better resource management, Java Puzzlers, and cool stuff Google is doing with Java. Recorded at www.javazone.no conference, Norway's best Java conference.
-
By Joshua Bloch
on Nov 07, 2006,
News about Closures
- .NET
- Topics
- Programming
Some APIs such as those that perform complex parsing often expose intermediate results via events. As Eric White demonstrates, closures can be used to greatly simplify calling these APIs.
-
By Jonathan Allen
on Sep 04, 2008,
- Java
- Topics
- Performance & Scalability,
- Programming,
- JCP Standards
As the number of processor cores available on modern hardware increases, it's becoming ever more important for developers to develop in ways that take advantage of the new hardware. The Fork/Join library in Java 7 helps solve this problem.
-
By R.J. Lorimer
on Mar 21, 2008,
- Ruby
- Topics
- Domain Specific Languages,
- Language,
- Dynamic Languages,
- Programming
One of Ruby 1.9's little additions is a new, more concise way to create lambda functions, amongst some other clarifications in the way Blocks work. We take a look at the changes and the reasons for them.
-
By Werner Schuster
on Jan 15, 2008,
- Java
- Topics
- Change
During the last few years, there has been wide-ranging discussion about adding closures to the Java language, either as part of Java SE 7, or in some future, unspecified release. At Javapolis, Joshua Bloch presented his opinion about the controversy, and why he feels that CICE is a more suitable approach.
-
By Geoffrey Wiseman
on Dec 19, 2007,
- Architecture,
- Ruby,
- Java
- Topics
- Object Oriented Design,
- Rich Internet Apps,
- Rich Client / Desktop,
- Open Source,
- Programming
The ActionScript Virtual Machine 2 (AVM2) executes ActionScript 3.0 (AS3) bytecode in the Flash Player 9 runtime. ActionScript 3 is an Object Oriented programming language, used by developers to build Flash based applications in Adobe Flex and AIR.
-
By Jon Rose
on Nov 13, 2007,
- .NET
- Topics
- Programming
Closures are not a new concept and in LINQ have proven to be incredibly useful. But they do have a dark side when used to break encapsulation. When two seemingly independent functions are tied together, unexpected results can occur.
-
By Jonathan Allen
on Sep 28, 2007,
- Java
- Topics
Neal Gafter recently gave a presentation at JavaOne and Jazoon '07 entitled "Closures for Java". The presentation is an accessible but thorough introduction to closures, the goals, the problem with existing solutions, all presented in a conversational style.
-
By Geoffrey Wiseman
on Aug 29, 2007,