I once had to debug an issue with a subclass 6-levels deep in a class hierarchy.
How to Fix the ES6 `class` keyword
Eric Elliott
84128

If you have this sort of thing, you’re doing OOA&D wrong. Virtually every single (modern) OOP book I have read advises strongly against using inheritance too much. Just because some idiots made a bad design doesn’t mean the whole idea of OOP and its classes are “wrong”, and we somehow have to “fix” them.

Like what you read? Give Eshan Singh a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.