News for hackers. Stuff that matters.
Re:Prefer duplication over the wrong abstraction by stevedt on Saturday July 09, 2016 @11:59AM (#12061863)
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.

Re:Prefer duplication over the wrong abstraction by js8 on Saturday July 09, 2016 @12:02PM (#12061887)
Then, why not fix the abstraction instead?
Re:Prefer duplication over the wrong abstraction by stepanhruda on Saturday July 09, 2016 @12:05PM (#12061902)
Sometimes you don't know what the right abstraction is yet, you only know it's not the one you have.