←back to thread

52 points birdculture | 1 comments | | HN request time: 0.302s | source
Show context
brandensilva ◴[] No.46182165[source]
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(2): >>46182183 #>>46182630 #
StellarScience ◴[] No.46182630[source]
> 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.

replies(2): >>46183116 #>>46183284 #
1. brandensilva ◴[] No.46183116[source]
I feel AI does decent at fixing the dupes and consolidating it as one instance. Abstractions can have far deeper connections and embeddings making it really hard to undo and reform but to each their own on what works for them.