Lambda Conversion Considered Harmful?

Alex Buckley Alex.Buckley at Sun.COM
Fri Feb 19 14:13:41 PST 2010


Neal Gafter wrote:
> 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.

The current draft tries to do both. The performance implications may yet 
be undesirable, in which case we may restrict the "conversion" to be 
from lambda expressions only.

Alex


More information about the lambda-dev mailing list