Floating point minimum values are positive?

bearophile bearophileHUGS at lycos.com
Tue Jul 23 00:26:21 PDT 2013


Ali Çehreli:

> 1) There shouldn't be warnings at all; what we call warnings 
> should be errors.
>
> I agree with that completely.

Unfortunately the real world is not made of just black or white 
situations. There are various valid reasons to have some 
warnings. Sometimes the language change, and deprecation warnings 
are not enough, see the warning for double.min in a recent 
thread. Keeping the number of warnings low is good. Eventually 
turning some warnings into errors, or removing them once their 
purpose has ended is good. But removing all warnings from D right 
now isn't a good idea.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list