this post was submitted on 15 May 2025
1154 points (98.7% liked)

Programmer Humor

24425 readers
259 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
[–] [email protected] 134 points 1 month ago (23 children)

I set all 8 bits to 1 because I want it to be really true.

[–] [email protected] 95 points 1 month ago* (last edited 1 month ago) (18 children)

01111111 = true

11111111 = negative true = false

[–] [email protected] 34 points 1 month ago (4 children)

What if it's an unsigned boolean?

[–] [email protected] 25 points 1 month ago

Cthulhu shows up.

load more comments (3 replies)
load more comments (16 replies)
load more comments (20 replies)