this post was submitted on 05 Feb 2025
416 points (99.8% liked)

Programmer Humor

20337 readers
1293 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 10 comments
sorted by: hot top controversial new old
[–] livingcoder 3 points 2 hours ago

When your management judges teams by lines-of-code written.

[–] [email protected] 8 points 4 hours ago* (last edited 4 hours 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 19 points 8 hours ago (2 children)

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

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

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

[–] [email protected] 36 points 12 hours ago (1 children)
[–] [email protected] 24 points 10 hours ago (2 children)

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

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

Oh, you must be looking for dragonsfuckingcars.

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

I exhaled vigorously through my nose.

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

Single responsibility principal and dependency injection are your friends.