this post was submitted on 02 Oct 2023
1532 points (98.4% liked)

Programmer Humor

32503 readers
644 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] _stranger_@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

I have this argument with other devs all the time.

Hey, you know this 200 line nested if statement that suddenly returns in the middle of the condition is "7"? Yeah, that needs a refactor or at least a fucking comment.

I get a pull request that adds a log line that reads something like "special case 7 triggered.".

[โ€“] Shush@reddthat.com 2 points 1 year ago

Plot twist: it was a 7 Boom game.