InfoQ

Topic/Tag specific view

All content and news on InfoQ about Closures


Latest featured content about Closures

Neal Gafter Discusses Closures, Language Features and Optional Typing

Community
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.

Joshua Bloch on Closures, Resource Management, Google

Community
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.

News about Closures

Using Closures to Improve API Design and Usage

Community
.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.

Parallelism with Fork/Join in Java 7

Community
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.

The state of the Lambda in Ruby 1.9

Community
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.

Closures and Preserving the Feel of Java

Community
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.

Understanding the ActionScript Virtual Machine for Java Developers

Community
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.

The Dark Side of Closures

Community
.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.

Catching up with Closures for Java

Community
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.