| Thread overview | |||||
|---|---|---|---|---|---|
|
November 26, 2008 Re: Treating the abusive unsigned syndrome | ||||
|---|---|---|---|---|
| ||||
Andrei Alexandrescu Wrote:
> I also know seasoned programmers who had no idea that -u compiles and that it also oddly returns an unsigned type.
>
1) I see no danger here.
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?
| ||||
November 26, 2008 Re: Treating the abusive unsigned syndrome | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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.
>>
> 1) I see no danger here.
> 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
| |||
November 26, 2008 Re: Treating the abusive unsigned syndrome | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | Andrei Alexandrescu:
> I didn't want runtime checks inserted, just to tighten compilation rules.
The compiler may use both :-)
Bye,
bearophile
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply