▲ 233 ▼ Shearing point (lemmy.ca) submitted 5 months ago by cm0002@lemmings.world to c/programmer_humor@programming.dev 11 comments fedilink hide all child comments
[–] TootSweet@lemmy.world 29 points 5 months ago (3 children) "A little copying is better than a little dependency." permalink fedilink source hideshow 3 child comments replies: [–] tatterdemalion@programming.dev 20 points 5 months ago (2 children) Judgement call. When it's something prone to change that's hard to get right, duplicating it just creates more maintenance burden. permalink fedilink source parent hideshow 2 child comments replies: [–] TootSweet@lemmy.world 10 points 5 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. permalink fedilink source parent [–] CanadaPlus@lemmy.sdf.org 1 point 5 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. permalink fedilink source parent
[–] tatterdemalion@programming.dev 20 points 5 months ago (2 children) Judgement call. When it's something prone to change that's hard to get right, duplicating it just creates more maintenance burden. permalink fedilink source parent hideshow 2 child comments replies: [–] TootSweet@lemmy.world 10 points 5 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. permalink fedilink source parent [–] CanadaPlus@lemmy.sdf.org 1 point 5 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. permalink fedilink source parent
[–] TootSweet@lemmy.world 10 points 5 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. permalink fedilink source parent
[–] CanadaPlus@lemmy.sdf.org 1 point 5 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. permalink fedilink source parent