this post was submitted on 19 Nov 2024
289 points (97.7% liked)

Programmer Humor

19593 readers
636 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 56 points 6 hours ago (3 children)

My favourite is always;

Lemme quickly write this test, it passes great, if I make this little change it'll fail. It's still passing, damn.

[–] [email protected] 33 points 5 hours ago (1 children)

The worst is when you expect an existing test to fail, but it passes, and it turns out the test wasn't actually properly testing the code. Fixing the test finds a bunch of broken edge cases.

[–] [email protected] 26 points 4 hours ago (1 children)

Then you ask questions about what the past person could possibly have been thinking. You wonder what logic path brought them to create the code this way. You check git blame. It was you.

[–] [email protected] 9 points 4 hours ago

Debugging. It's a whodunnit where the victim, murderer, and investigator are all you.^(apologies to Filipe Fortes)

load more comments (1 replies)