Syntax decision
Paul Benedict
pbenedict at apache.org
Wed Sep 28 07:55:15 PDT 2011
On 9/28/2011 2:03 AM, Howard Lovatt wrote:
> Personally I am glad you have decided to go with -> since I have had
> trouble reading Scala code, however this is not my main point in this
> post which is have you decided if you require () for no arguments or if
> you plan to allow a 'naked' -> e.g.:
I am glad too. Being consistent with other languages is a laudable goal, but
since programming languages aren't identical, the needs for Java can lead to
a different conclusion. The fat arrow syntax does look odd; I admit it. So
in terms of vanity, I am glad to see that punted. The equals character is
just too strongly associated with assignment and equality.
Paul
More information about the lambda-dev
mailing list