this post was submitted on 16 Jun 2026
452 points (99.3% liked)

Programmer Humor

32245 readers
1062 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 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] jballs@sh.itjust.works 9 points 3 weeks ago

While working on some client code, my coworker and I came across a case statement that said something like

if myBoolean == TRUE
then blah
else if myBoolean == FALSE
then blah blah
else if myBoolean is null
then blah blah blah

Ever since we've always laughed at the "trinary bit".