Killing the comma operator

Meta via Digitalmars-d digitalmars-d at puremagic.com
Tue May 10 06:53:09 PDT 2016


> Do you like comma expressions, and think its presence in the 
> language is more pro than con ?

It should've been killed off a long time ago. It only causes bugs 
and can easily be replaced with a library feature if necessary. I 
think Andrei suggested that it should be changed so that the 
comma expression returns `void` instead of the last expression 
evaluated.


More information about the Digitalmars-d mailing list