Should we deprecate comma?

bearophile bearophileHUGS at lycos.com
Tue Mar 25 06:08:58 PDT 2014


Steve Teale:

> The only place I have tended to use the comma operator is in 
> ternary expressions
>
> bool universal;
>
> atq = whatever? 0: universal = true, 42;

I classify that as quite tricky code, it's a negative example :-(

Bye,
bearophile


More information about the Digitalmars-d mailing list