www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Treating the abusive unsigned syndrome

reply Kagamin <spam here.lot> writes:
Andrei Alexandrescu Wrote:

 I also know seasoned programmers who had 
 no idea that -u compiles and that it also oddly returns an unsigned type.

2) I doubt this proposal solves the danger, wheatever it is. 3) -u is funny and looks like wrong desing to me. 4) Did you want C# checked computations?
Nov 26 2008
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Kagamin wrote:
 Andrei Alexandrescu Wrote:
 
 I also know seasoned programmers who had 
 no idea that -u compiles and that it also oddly returns an unsigned type.

2) I doubt this proposal solves the danger, wheatever it is. 3) -u is funny and looks like wrong desing to me. 4) Did you want C# checked computations?

I didn't want runtime checks inserted, just to tighten compilation rules. Andrei
Nov 26 2008
parent bearophile <bearophileHUGS lycos.com> writes:
Andrei Alexandrescu:
 I didn't want runtime checks inserted, just to tighten compilation rules.

The compiler may use both :-) Bye, bearophile
Nov 26 2008