ga-wdi-boston / ruby-object-model

Other
1 stars 109 forks source link

Make objectives better match what Rachel wrote on board on delivery 015 #16

Closed BenGitsCode closed 7 years ago

BenGitsCode commented 8 years ago
Give two reasons why inheritance and mixins are desirable

Describe the difference between inheritance, composition, and mixins.
raq929 commented 7 years ago

Related to #13

raq929 commented 7 years ago

Current objectives are:

-   Give two reasons why inheritance and Mixins are desirable.
-   Write a class which inherits from another class.
-   Describe why mixins are preferred to inheritance.
raq929 commented 7 years ago

So, all inheritance objectives are moving to ga-wdi-boston/ruby-object-inheritance, so the middle objective can go. Maybe describe when you should use inheritance, composition, or mixins?