this post was submitted on 09 Feb 2026
38 points (97.5% liked)
Programmer Humor
40890 readers
95 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The Holy C integer naming scheme is so elegant, I wish c had adopted it
Wym? You mean you don't like typing out
unsigned long long?What really frustrates me about that, is that someone put in a lot of effort to be able to write these things out using proper words, but it still isn't really more readable.
Like, sure,
unsignedis very obvious. Butshort,int,longandlong longdon't really tell you anything except "this can fit more or less data". That same concept can be expressed with a growing number, i.e.i16,i32andi64.And when someone actually needs to know how much data fits into each type, well, then the latter approach is just better, because it tells you right on the tin.
In c they do indeed just mean shorter and longer int as the size of the int is defined by the compiler and target and originally represented the hardware.
There are types like int32_t or int_least16_t.