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

Programmer Humor

23567 readers
2048 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 2 weeks ago (23 children)

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

[–] [email protected] 93 points 2 weeks ago* (last edited 2 weeks ago) (18 children)

01111111 = true

11111111 = negative true = false

[–] [email protected] 33 points 2 weeks ago (4 children)

What if it's an unsigned boolean?

[–] [email protected] 25 points 2 weeks ago

Cthulhu shows up.

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