Re:The Wrong Abstraction (2016)
by sagichmal on Monday July 06, 2020 @09:06PM
(#23754548)
I don't think I agree. Identifying an abstraction as leaky and breaking it apart is substantially more difficult and riskier than identifying duplication and creating an abstraction for it.
[ Parent
| on HN ]
Removing an abstraction layer can usually be done mechanically by inlining the calls. This is a trivial operation. Identifying duplication not trivial since there might be various differences and you have to investigate if they are inconsequential or not.