Rainer Deyke wrote:
Walter Bright wrote:
When it's convenient and easy to do the wrong thing, people will do it.
Even the ones who know better, and promise themselves they won't do it,
do it.

WRT warnings, DMD doesn't just make it convenient and easy to do the
wrong thing, it /forces/ you to do the wrong thing.

Except that DMD doesn't really have any incorrect warnings any more.
The only time that you get a warning that isn't necessarily a bug in your code is with implicit conversions. Once the range-tracking implicit conversion rules for arithmetic operations are fully implemented, all of the warnings could be turned into errors, and DMD could lose the -w switch.


Reply via email to