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

Programmer Humor

31862 readers
1185 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 8 points 1 day 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".