re: The Cost of Premature Abstraction VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Actually, my decision on abstracting is made on the basis if the abstraction makes semantically sense, not just if there is some code in common. B...
 

Totally agree with your view on what makes abstraction worthwhile.

A one-to-two level deep inheritance or composition is most ideal since it doesn't suffer from Chinese Whispers effect. I often refer to the change as an identity corruption of code, as keeping the identity of a function/class true to its origin would keep it readable and maintainable.

code of conduct - report abuse