247
Shearing point (lemmy.nz)
you are viewing a single comment's thread
view the rest of the comments
[-] tatterdemalion@programming.dev 21 points 4 months ago

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 10 points 4 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.

[-] CanadaPlus@lemmy.sdf.org 1 points 4 months ago

Plus, it's bloat. A snippet of extra code isn't going to cause much trouble, but then you end up doing it a lot, and there's snippets in the snippets, and all the sudden something that used to fit on a floppy is 3 gigs.

I have no idea how much of a factor this is relative other various performance-sacrificing shortcuts, but Wirth's law is a thing.

this post was submitted on 26 May 2026
247 points (98.1% liked)

Programmer Humor

33517 readers
620 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