Method references with types [Re: lambda syntax tutorial]

Howard Lovatt howard.lovatt at gmail.com
Thu Aug 5 17:05:45 PDT 2010


On 5 August 2010 22:08, Brian Goetz <brian.goetz at oracle.com
<http://mail.openjdk.java.net/mailman/listinfo/lambda-dev>> 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 would favour the infix notation with compulsory types, to mimic the
Javadoc notation. If the foo#bar(...) notation is added then ideally this
notation would be added to Javadoc so that the two remain in sync.


  -- Howard.


More information about the lambda-dev mailing list