2009-11-19

Java 7 will have closures!

These pages have the details:
  • Closures after all?” is continually updated with new links and information.
  • Gafter’s “Closures for Java” has been updated with the new syntax which closely resembles FCM. Thus, the new closures use FCM syntax and (a simplified version of) Gafter’s type system. Correction: Gafter’s spec was written 2 weeks before Devoxx, as an attempt at a compromise between the competing proposals.
  • Reinier Zwitserloot has more background on how everything came about.
  • Update 2009-11-22: Stephen Colebourne gives an overview of the current situation.
  • Update 2009-12-03: Mark Reinhold posts “Closures for Java: The Q&A”.

1 comment:

Fatih Coşkun said...

I am thrilled that Java 7 will have closures. Unfortunately, as it looks right now, they will not add the BGGA control statement invocation syntax, nor will they support non-local transfer. Consider us happy, if we get access to non-final variables in the enclosing scope.

Web Analytics