Tuple DIP
Timon Gehr
timon.gehr at gmx.ch
Sat Jan 13 18:28:55 UTC 2018
On 13.01.2018 19:11, Timothee Cour wrote:
> https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md#proposal-6-placeholder-name-_
>
>> Symbols with the name _ should not be inserted into the symbol table.
> why not use `?` instead of `_` ?
> no breaking change and should be unambiguous with (expr ? expr : expr) syntax
>
>
It's unambiguous but nonstandard and a bit noisy. Also, it's slightly
harder to support in the parser (although that shouldn't be a big concern).
However, this proposal is independent of all the other ones, so in the
end it is up to Walter and Andrei.
More information about the Digitalmars-d
mailing list