Changing the behavior of the comma operator
Timon Gehr
timon.gehr at gmx.ch
Tue Mar 25 15:38:27 PDT 2014
On 03/25/2014 07:52 PM, H. S. Teoh wrote:
> I doubt if a significant
> number of D coders even understand what a comma operator*is*, let alone
> its subtle semantics. This in itself already indicates that it's a
> minefield waiting to blow up. Those who*do* know what it is may not
> necessarily know all the fine details of its tricky behaviour,
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.)
More information about the Digitalmars-d
mailing list