Killing the comma operator
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 10 07:16:06 PDT 2016
On Tuesday, 10 May 2016 at 10:09:40 UTC, Andrei Alexandrescu
wrote:
> On 5/10/16 12:52 PM, Mathias Lang wrote:
>> So, following DConf2016, I raised a P.R. to deprecate usage of
>> the comma
>> expressions, except within `for` loops increment [5].
>
> The agreed-upon ideea was to allow uses that don't use the
> result (including for loops). No? -- Andrei
Let's just make it of void type, there was plan to recycle the
syntax maybe, but whatever we do in the future, this is the
sensible first step.
More information about the Digitalmars-d
mailing list