logoalt Hacker News

brandensilvalast Sunday at 3:02 PM2 repliesview on HN

I have to agree, it's much easier to remove and consolidate duplicative work than unwind a poor abstraction that is embedded everywhere.

And I think it's easy to see small companies lean on the duplication because it's too easy to screw up abstractions without more engineering heads involved to get it right sometimes.


Replies

StellarSciencelast Sunday at 3:58 PM

> it's much easier to remove and consolidate duplicative work than unwind a poor abstraction that is embedded everywhere.

It's not easy to deduplicate after a few years have passed, and one copy had a bugfix, another got a refactoring improvement, and a third copy got a language modernization.

With poor abstractions, at least you can readily find all the places that the abstraction is used and imorove them. Whereas copy-paste-modified code can be hard to even find.

show 2 replies
locknitpickerlast Sunday at 3:05 PM

> I have to agree, it's much easier to remove and consolidate duplicative work than unwind a poor abstraction that is embedded everywhere.

That is basically the core tenet of "Write Everything Twice" (WET)

show 1 reply