new D2.0 + C++ language

Jarrett Billingsley jarrett.billingsley at gmail.com
Fri Mar 20 20:25:22 PDT 2009


On Fri, Mar 20, 2009 at 10:31 PM, bearophile <bearophileHUGS at lycos.com> wrote:

> Note that SPECS uses  ^  :=  and  =  as in Pascal.
> Pointer syntax of Pascal is better, and the :=  = often avoid the C bugs like if(a = b).

Which isn't a problem in D ;)

> That can also offer a syntax for anonymous functions/delegates:
> {int x => x*x}
> {x => x*x}
> {{x => x*x}}

That's actually pretty nice.



More information about the Digitalmars-d mailing list