News for hackers. Stuff that matters.
Re:The Wrong Abstraction (2016) by goto11 on Sunday July 05, 2020 @02:19PM (#23740696)
Then the same would be the case for code duplication which really ought to be unified.
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.
Re:The Wrong Abstraction (2016) by goto11 on Friday July 10, 2020 @07:53AM (#23790581)
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.