Lambda Conversion Considered Harmful?

Mark Mahieu markmahieu at googlemail.com
Fri Feb 19 13:57:03 PST 2010


Hi Josh,

On 19 Feb 2010, at 19:52, Joshua Bloch wrote:
> 
> Also it's
> confusing to have a widening reference conversion from one interface type to
> another when the latter ("wider") interface doesn't include a method present
> on the former (invoke).

I'm confused by what you're saying here.  I'd have thought it should be considered perfectly normal for the wider type not to include a method on the type being converted from.

Mind you, I've never been tempted to think of lambda conversions as widening conversions, personally.


>             Josh


Mark



More information about the lambda-dev mailing list