const assignments problem again

bearophile bearophileHUGS at lycos.com
Sat Aug 6 18:47:49 PDT 2011


Adam D. Ruppe:

> > I don't like it.
> 
> That's not good enough.

I agree, that's why I have added two more points:
- conditional expression is bug-prone and it's a bit tricky (it's a common source of various bugs), because of it operator precedence too;
- It is less maintainable (if you want to add something you sometimes need to convert it again into a normal if).

Bye,
bearophile


More information about the Digitalmars-d mailing list