Anonymous function syntax

Christophe travert at phare.normalesup.org
Fri Sep 23 01:51:22 PDT 2011


zeljkog , dans le message (digitalmars.D:145087), a écrit :
> 
> While we are about rewrites, it would be nice one:
> 
> symbol := expression;  -> auto symbol = expression;
> 
> 1. shorter
> 2. conspicuous, more readable.
> 3. highlights distinction between assignment and initialization.
> 4. will not break any existing code.

I quite like it.


More information about the Digitalmars-d mailing list