When to Use Inheritance: A Wide Brush Approach
Inheritance is a fundamental concept in virtually any language which supports object-oriented programming. How inheritance works varies between languages, but virtually all languages with an object-oriented class system support it in some form. While most programming materials will teach you how to use inheritance, they don’t really touch on when it ends up detrimental to coding.
Inheritance is a tool in a programmer’s toolbox just like any other feature of a language.… Read the rest