Primitives in Generics (+ the meaning of this)

Neal Gafter neal at
Fri Jul 16 10:25:41 PDT 2010

On Fri, Jul 16, 2010 at 10:07 AM, Brian Goetz <brian.goetz at>wrote:

> And, given that inner classes *already* suffer from the accidental
> shadowing
> problem, creating a mechanism that goes the other way (even if the other
> way
> is absolutely right!) is even more confusing for Java developers, who now
> have
> to keep track of two separate and inconsistent bits of puzzlerhood.


I don't believe it would be more confusing for Java developers (except those
completely unfamiliar with the new language feature).  But setting that
aside, this leads to the natural question: If we're wanting to recreate all
the problems of anonymous inner classes, what, if any, problems ARE
addressed by project lambda, and what is newly possible that was not
possible previously?


More information about the lambda-dev mailing list