this post was submitted on 26 May 2026
178 points (98.9% liked)

Programmer Humor

32884 readers
344 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 3 years ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] TootSweet@lemmy.world 22 points 2 months ago (1 children)

"A little copying is better than a little dependency."

[–] tatterdemalion@programming.dev 16 points 2 months ago (1 children)

Judgement call. When it's something prone to change that's hard to get right, duplicating it just creates more maintenance burden.

[–] TootSweet@lemmy.world 6 points 2 months ago

For sure. But I've seen a lot more sins committed in the name of reusing code than in the name of minimizing dependencies.

[–] jbrains@sh.itjust.works 9 points 2 months ago

Depend on abstractions. This isn't hard. 🤷

[–] yessikg@fedia.io 2 points 2 months ago (1 children)

When I do a security audit on apps with hundreds of dependencies, I die a little bit

[–] CanadaPlus@lemmy.sdf.org 1 points 2 months ago* (last edited 2 months ago)

Does it matter what kind of dependancy? Like, sure, if it's somebody's 5-year-old school project that's bad, I guess. (I'm experiencing this meme right now)

[–] nova_ad_vitum@lemmy.ca 1 points 2 months ago (1 children)

Reuse is only good in the context of 90s era OO programming wisdom of "Coupling is bad, cohesion is good".

[–] Metype@pawb.social 16 points 2 months ago (1 children)

Wait so I should reinvent the wheel constantly! I knew I was right about that!!

[–] olafurp@lemmy.world 1 points 2 months ago

I also think an implementation should depend on how many the developer remembers to change

[–] mormegil@programming.dev 1 points 2 months ago

Another level of this dilemma: