[OT] The Usual Arithmetic Confusions

Walter Bright newshound2 at digitalmars.com
Thu Feb 17 22:41:59 UTC 2022


On 2/17/2022 12:11 PM, Paul Backus wrote:
> Yeah, implicit signed-to-unsigned conversion is really nasty. Even if we keep 
> the rest of the C-style promotion rules, getting rid of that one would still be 
> a big improvement.

There is a simple solution you can use: never use unsigned integers. I'm not 
being facetious. Many languages do not have unsigned integer types.


More information about the Digitalmars-d mailing list