Should we deprecate comma?
Marc Schütz" <schuetzm at gmx.net>
Marc Schütz" <schuetzm at gmx.net>
Mon Mar 24 13:44:30 PDT 2014
On Monday, 24 March 2014 at 16:38:42 UTC, Andrei Alexandrescu
wrote:
> On 3/24/14, 5:18 AM, "Marc Schütz" <schuetzm at gmx.net>" wrote:
>> This is nice, although I guess it will make parsing harder. It
>> probably
>> means that the distinction between "," as operator and tuple
>> element
>> separator will be context-dependent.
>
> No, parsing stays the same. You can think of comma returning a
> tuple. But for now we're forcing that tuple to never be used,
> so as to not change code semantics.
Ah, that's clever.
More information about the Digitalmars-d
mailing list