Lambda Conversion Considered Harmful?

Neal Gafter neal at gafter.com
Fri Feb 19 13:48:22 PST 2010


Well, we can add support for function types and lambda expressions, ala BGGA
(with interoperability for SAM interfaces).

Or we can add a more concise anonymous inner class syntax, ala CICE.

Or we can do both, as you propose, which is more complex than either
alternative.

The current draft tries (and fails) to strike a technical compromise between
the two, and in so doing undermines the value of both alternatives.

(We can rule out "neither" in our exploration of the design space, since we
already have a precise specification and implementation of that option (i.e.
Java SE 6) to compare against whatever project lambda comes up with.)


More information about the lambda-dev mailing list