Method references with types [Re: lambda syntax tutorial]
kevinb at google.com
Fri Aug 6 10:12:09 PDT 2010
I strongly agree. Having two nearby dots mean two completely different
things... it's a trap.
On Fri, Aug 6, 2010 at 2:18 AM, Stephen Colebourne <scolebourne at joda.org>wrote:
> On 6 August 2010 03:30, Brian Goetz <brian.goetz at oracle.com> wrote:
> >>> #A.getB().getC()
> > Greedy. Evaluate t=A.getB(), then evaluate to #t.getC().
> Huh? That is seriously confusing to read.
> Whereas A.getB()#getC() is a lot clearer in terms of what will be
> evaluated now and what captured.
Kevin Bourrillion @ Google
More information about the lambda-dev