this post was submitted on 05 Feb 2025
366 points (99.7% liked)

Programmer Humor

20332 readers
1291 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
 

@programmer_[email protected] Let's just add one more feature

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 hour ago* (last edited 1 hour ago)

I've reworked SO many systems that started clean and were obviously updated by a series of different people over a span of years. New features nailed on with apparently little understanding of the overall app. It's like, "Oh dude it was already doing 90% of what you wanted, you didn't have to add all this... ." Especially true when offshore contract agencies had been involved - to churn through jobs as fast as possible (with no other concern) they tend to copypaste sections of the app that do something similar to what's desired, and make minimal changes to them, with zero code cleanup. This leaves all sorts of misleading unnecessary code, as well as inefficiencies like grabbing a large dataset to get a single item, etc. I found things that made me literally LOL.

[–] JackbyDev 15 points 5 hours ago (1 children)

I feel line this would be funnier as "code updated to do 999 things"

[–] [email protected] 1 points 1 hour ago

Excellent point. Sometimes removing functionality is much more kludgy than adding it.

[–] [email protected] 32 points 9 hours ago (1 children)
[–] [email protected] 21 points 7 hours ago (2 children)

I'm disappointed that I misunderstood the topic of that community

[–] [email protected] 11 points 5 hours ago

Oh, you must be looking for dragonsfuckingcars.

[–] [email protected] 3 points 5 hours ago

I exhaled vigorously through my nose.

[–] [email protected] 2 points 8 hours ago

Single responsibility principal and dependency injection are your friends.