1225
More the merrier (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] CodeBlooded@programming.dev 16 points 1 year ago

Code never lies. Comments sometimes do.

[-] rothaine@lemm.ee 19 points 1 year ago

Oh, you ain't never encountered a boolean named the fucking opposite of what it does?

[-] VaxHacker@programming.dev 2 points 1 year ago

Better: I've encountered a pair of booleans that appear to be exact opposites but aren't. To protect the guilty I've changed the words: isOpen and isClosed, when one is true the other is false and vice versa, EXCEPT that while something can't be both open and closed at the same time, it is possible for something to be not open and not closed.

load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 20 Aug 2023
1225 points (98.9% liked)

Programmer Humor

19480 readers
176 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 1 year ago
MODERATORS