this post was submitted on 15 Jul 2023
228 points (99.6% liked)

Programmer Humor

20778 readers
1441 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
 

As title

you are viewing a single comment's thread
view the rest of the comments
[โ€“] philm@programming.dev 7 points 2 years ago (1 children)
// This enters the if branch if "myVar" == true
while otherVar == 42 {
    // do something
}
[โ€“] Mikelius@beehaw.org 2 points 2 years ago

Lmao I've unfortunately seen stuff like this, where other parts of code that looked like just made up stuff had zero comments. Basically comments only where they weren't needed and lacking where they're needed