The Comma Operator's Deprecation Can't Come Soon Enough

Martin Krejcirik via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 15 10:03:21 PDT 2014


> The reason for getting rid of it is because it's borderline 
> useless. It causes more accidental bugs than it enables 
> deliberate uses.

I find the comma op useful somemtimes. This example shows 
absolutely nothing of comma wrongdoing. If anything, there could 
be a warning for passing signed value to unsigned argument (that 
caught me, not comma).


More information about the Digitalmars-d mailing list