Anonymous function syntax

Peter Alexander peter.alexander.au at gmail.com
Sat Sep 24 12:16:56 PDT 2011


On 24/09/11 2:03 AM, Martin Nowak wrote:
> I want to add some points against introducing this particular syntax.
>
> 1. Foremost using '=>' is unfamiliar. Comming from C++ or Java you
> really have to learn reading it.
> If you weighted the lambda syntaxes with the tiobe factor, arrows would
> be a minority.

Just wanted to jump in here and mention that Java is probably going to 
adopt this syntax for Java 8 lambdas.

http://mail.openjdk.java.net/pipermail/lambda-dev/2011-September/003936.html

Make of that what you will.


More information about the Digitalmars-d mailing list