A confusing expression?

bearophile bearophileHUGS at lycos.com
Mon Aug 2 05:24:02 PDT 2010


Steven Schveighoffer:

> No warning, no error.  It's natural to assume that operations are  
> performed from left to right.  I don't find it confusing at all.

Thank you for your opinion Steven. I am now leaning toward your idea, because I think raising an error in this case it too much, and the other solutions I see are not good enough. So I presume this problem can be left to future D lint programs.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list