Method references with types [Re: lambda syntax tutorial]
Stephen Colebourne
scolebourne at joda.org
Thu Aug 5 16:09:56 PDT 2010
On 5 August 2010 22:08, Brian Goetz <brian.goetz at oracle.com> wrote:
> We are for this reason considering #foo.bar() instead of #foo.bar. We are
> also considering a greedy prefix syntax instead of infix.
I'm assuming these two sentences are independent, as I can't see why
changing the syntax solves the problem (well, I can, but only in the
sense of having method and field references look very different, which
seems daft).
As discussed in a previous thread, John, Josh and I will steer you
strongly towards infix. The current prototype has got it right.
I'd also note that Foo#bar(...) is acceptable to me, although it feels
somewhat pointless.
Stephen
More information about the lambda-dev
mailing list