DIP19: Remove comma operator from D and provision better syntactic support for tuples

Timon Gehr timon.gehr at gmx.ch
Mon Sep 24 15:20:03 PDT 2012


On 09/24/2012 09:50 PM, Caligo wrote:
> On Mon, Sep 24, 2012 at 11:37 AM, bearophile <bearophileHUGS at lycos.com> wrote:
>>
>> That both breaks code, doesn't improve the syntax, but makes it worse.
>>
>> Bye,
>> bearophile
>
> foo(<11,2,8>, a, b)
> vs
> foo((11,2,8), a, b)
>

I don't spot a significant difference.

> Parentheses are everywhere in D.  Sometimes it looks like Lisp.
>

Lisp is beautiful.


More information about the Digitalmars-d mailing list