Changing the behavior of the comma operator

monarch_dodra monarchdodra at gmail.com
Tue Mar 25 15:54:26 PDT 2014


On Tuesday, 25 March 2014 at 22:38:27 UTC, Timon Gehr wrote:
> What 'subtle semantics' or 'tricky behaviour'? It is 
> straightforward. The introduced bugs are due to accidental 
> usage caused by failure to match parentheses correctly. (i.e. 
> comma removes some redundancy from the language syntax. This 
> does not mean it is a difficult concept.)

I don't know about 'subtle semantics' or 'tricky behaviour'. It's 
not a difficult concept either, if you are willing to learn it. 
But it *is* one of the more "obscure" concepts.

Most "average" coders could spend an entire career and never care 
nor know the damn thing is actually an operator.


More information about the Digitalmars-d mailing list