DIP32: Uniform tuple syntax

Simen Kjærås simen.kjaras at gmail.com
Fri Mar 29 09:52:52 PDT 2013


On Fri, 29 Mar 2013 16:20:14 +0100, kenji hara <k.hara.pg at gmail.com> wrote:

> 2013/3/29 Andrej Mitrovic <andrej.mitrovich at gmail.com>
>
>> The new meaning of $ and $var and literals in if statements and "...",
>> is just too much for me to take.
>>
>
> I wrote about it to encourage discussions.
>
> I can agree that $identifier looks weird, but a feature to do it
> is*necessary*.

How's about ref? As in 'if (auto {ref x, y} : coord)'. It's more consistent
with existing D syntax, and sorta makes sense.

-- 
Simen


More information about the Digitalmars-d mailing list