A lot of people coming from OOP languages have a hard time unlearning inheritance and thinking in terms of composition. I think it would be interesting to have a chapter explaining the difference between both and give some examples of how you might use composition instead of inheritance.
I'm going to close this issue since we now have a placeholder for the proposed chapter here as Chapter 15 (we haven't started writing it yet though). ❤️
A lot of people coming from OOP languages have a hard time unlearning inheritance and thinking in terms of composition. I think it would be interesting to have a chapter explaining the difference between both and give some examples of how you might use composition instead of inheritance.