Hacker News new | ask | show | jobs
by stevedt 3629 days ago
Perhaps a better tag line would be "duplication is far cheaper than a bad abstraction".

The take-away from the article for me is if subsequent activity (the changes requiring parameters and if-branches) show it was or has become a bad abstraction, then undo the abstraction and re-introduce the duplication.

1 comments

Then, why not fix the abstraction instead?
Sometimes you don't know what the right abstraction is yet, you only know it's not the one you have.