this post was submitted on 15 Jul 2023
219 points (99.5% liked)

Programmer Humor

19471 readers
30 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
 

As title

top 6 comments
sorted by: hot top controversial new old
[–] yacgta@infosec.pub 6 points 1 year ago (1 children)

I have a few of these but I forget where they came from, curious if anyone here knows

[–] Mikelius@beehaw.org 5 points 1 year ago (1 children)

You have comments in your legacy codebases?? Luckyyyyy

[–] philm@programming.dev 7 points 1 year ago (1 children)
// This enters the if branch if "myVar" == true
while otherVar == 42 {
    // do something
}
[–] Mikelius@beehaw.org 2 points 1 year 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