this post was submitted on 13 Jul 2023
445 points (98.3% liked)
Programmer Humor
32503 readers
418 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 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
tbh c/c++ type system is super fucked up
What the fuck is
unsigned long long int
just call itu64
Well it isn't always 64 bytes. Some architectures differ.
usize
thenyou can just use
unsigned long long
(drop the int) or, if it bothers you that much,uint64t
but keep in mind that yhe size ofunsigned long long
may vary depending on the architecture