A composition describes a relationship in which one object completely controls another object that has not an independent lifecycle.
https://www.thoughtworks.com/insights/blog/composition-vs-inheritance-how-choosearrow-up-right
https://softwareengineering.stackexchange.com/questions/65179/where-does-this-concept-of-favor-composition-over-inheritance-come-fromarrow-up-right
Last updated 6 years ago