Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.)



I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: