๐Ÿ“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