Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
volemo
on Jan 21, 2024
|
parent
|
context
|
favorite
| on:
So you think you know C? (2016)
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
on Jan 21, 2024
[–]
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:
(I’m not comparing the languages in any way here, just praising a clean notation.)