this post was submitted on 15 May 2025
1128 points (98.5% liked)
Programmer Humor
23417 readers
1648 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I set all 8 bits to 1 because I want it to be really true.
01111111 = true
11111111 = negative true = false
What if it's an unsigned boolean?
Cthulhu shows up.
Common misconception... Unsigned booleans (ubool) are always 16-bits.
Super true.