comma operator causes hard to spot bugs

Manfred Nowak svv1999 at hotmail.com
Fri Apr 27 14:08:33 PDT 2012


Benjamin Thaut wrote:

> I just had a bug due to the unitentional usage of the comma operator.

No language is able to read between the lines. Actually you moved a 
closing parenthesis over a lexical distance of four token.

On this groundadition one can make up similar fruitless remarks.

unintentional usage of exponential:
|  f( 1.0, 1.0e9)
but wanted
|  fe9( 1.0, 1.0)

-manfred


More information about the Digitalmars-d mailing list