Time to move std.experimental.checkedint to std.checkedint ?

Walter Bright newshound2 at digitalmars.com
Tue Mar 30 00:38:37 UTC 2021


On 3/29/2021 5:02 PM, H. S. Teoh wrote:
> Like I said, the only real flaw here is the choice of the name `int` for
> a hardware type that's clearly NOT an unbounded mathemetical integer.

You're right. It's not an integer, it's an int :-)

Besides, nobody is going to want to type `intMod32bit` every time they declare a 
variable. Heck, Rust chose `int32`, but that is of value only in the first 30 
seconds of learning Rust, and will be cursed forever after.


More information about the Digitalmars-d mailing list