Re:Ask HN: Do you use inheritance when programming?
by eel on Tuesday July 14, 2020 @12:14AM
(#23828460)
Sometimes, but not frequently. I'll write abstract classes and inherit from those occasionally.
The only times in recent memory where I have inherited a concrete class from another concrete class was to add functionality to an existing program without starting a massive refactor.
The only times in recent memory where I have inherited a concrete class from another concrete class was to add functionality to an existing program without starting a massive refactor.