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

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Sep 23 14:01:13 PDT 2012


On 9/23/12, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> I discussed this with Walter, and we concluded that we could deprecate
> the comma operator if it helps tuples. So I started with this:
>
> http://www.prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP19

About the (,) problem, what about using (void)? It's longer to type
but it might be easier to humanly decode than trying to count lone
commas.

((1, ), (,))
((1, void), void, (void))


More information about the Digitalmars-d mailing list