2 ms·
I like Rust’s choice for basic types: initial and the number of bits: u8, i32, f64, etc. (I’m not comparing the languages in any way here, just praising a clea
by volemo 3y ago
I like Rust’s choice for basic types: initial and the number of bits: u8, i32, f64, etc.
(I’m not comparing the languages in any way here, just praising a clean notation.)
- WalterBright 3y agoI suspect the impetus for suffixing the number of bits is a bit of a backlash from C, where you never know how many bits are in a type. That has caused C programmers a lot of trouble and extra work.