📝Inheritance starts with composition

source
Favor Composition Over Inheritance?

Inheritance and composition are often depicted as two opposing features, but it’s better to view inheritance as composition + extra features (polymorphism, delegation, subtyping, etc.)

See also:

Backlinks