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.
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.