InfoQ

News

Consensus Reached on Closure Proposals

Posted by Rob Thornton on Apr 30, 2007 10:00 AM

Community
Java
Topics
JCP Standards,
Programming
Tags
Closures

Neal Gafter has announced a consensus proposal for closures in Java. All but one of the authors of the three biggest closure proposals (BGGA, FCM, CICE) has signed on as supporting the JSR.

Gafter writes that he has stopped his work on a prototype of closures to work on this JSR. He hopes for some good discussion at JavaOne about next steps, and re-iterates that the spec is a work in progress:

The purpose of the JSR proposal is to define the problems to be solved and circumscribe the permitted solution space. It doesn't mandate a particular solution, though it does offer the Closures for Java specification as an example of a solution to many (but not all) of the problems. This should not be surprising, as that spec was written specifically in an attempt to satisfy the requirements. Still, the spec is a work in progress.

The Editor's blog at Java.net points out that while this conensus moves us closer to having closures in Java, agreement on if we need or want closures is still up in the air.

So, according to Gafter, an agreement has been reached on what the problem is and what a closures JSR will try to address. The next question for the group to consider will be the specific form of their proposal. Assuming that is resolved and then brought to the community in the form of a draft JSR, it will be up to the JCP Executive Committee (and, really, to the community as a whole) to answer the first question: do we really even want this at all?

While this approach might seem to be out of order, the editor posits that it might be in order of difficulty.

1 comment

Reply

"Dynamically typed" by Stefane Fermigier Posted May 3, 2007 3:37 AM
  1. Back to top

    "Dynamically typed"

    May 3, 2007 3:37 AM by Stefane Fermigier

    The draft proposal incorrectly characterizes dynamically typed languages, like "Scheme, Ruby, and Smalltalk", as "untyped languages". S.

Exclusive Content

Rob Windsor on WCF with REST, JSON and RSS

WCF is not just for SOAP based services and can be used with popular protocols like RSS, REST and JSON. Join Rob Windsor as he introduces WCF 3.5 and its new native support for non-SOAP services.

Christophe Coenraets Discusses Flex 3, AIR, and BlazeDS

Christophe Coenraets discusses Flex 3, Flex Builder, AIR, BlazeDS, Adobe and open source, integrating Flex with existing applications, and integrating RIAs with search engines and browsers.

Debunking Common Refactoring Misconceptions

Danijel Arsenovski attempts to dispel some of the myths around refactoring and how it applies to .NET developers.

REST Eye for the SOA Guy

In this presentation, recorded at QCon San Francisco, CORBA guru Steve Vinoski explains REST from the view of someone who comes to SOA from a traditional, RPC-oriented background.

Choose Feature Teams over Component Teams for Agility

Feature teams are key to scaling agility for large teams. In an excerpt from "Scaling Lean and Agile Development," Larman & Vodde show how feature teams resolve traditional problems & raise new issues

Billy Newport explains Virtualization

Billy Newport talks about virtualization, eXtreme Transaction Processing (XTP) and WebSphere Virtual Enterprise. He discusses hardware, hypervisor, JVM, application and data virtualization.

Virtualization and Security

While virtualization provides many benefits, security can not be a forgotten concept in its application.

Introduction to Agile for Traditional Project Managers

This session is specifically aimed at traditionally trained project managers who are new to Agile, and who would like to be able to relate the PMI's best practices to their Agile equivalents.