this post was submitted on 15 May 2025
1148 points (98.6% liked)

Programmer Humor

23417 readers
1545 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Hammerheart@programming.dev 1 points 1 week ago (1 children)
[โ€“] timhh@programming.dev 2 points 4 days ago

I think he's talking about if a variable only exists in registers. In which case it is the size of a register. But that's true of everything that gets put in registers. You wouldn't say uint16_t is word-sized because at some point it gets put into a word-sized register. That's dumb.