https://medium.com/humans-create-software/composition-over-inheritance-cb6f88070205 ᔥ
Inheritance is when you design your types after what they are, while composition is when you design your types after what they can do.
https://medium.com/humans-create-software/composition-over-inheritance-cb6f88070205 ᔥ
Inheritance is when you design your types after what they are, while composition is when you design your types after what they can do.