As I try to become a better programmer, I find myself tackling (for me) new coding paradigms. Lately, I have been struggling to learn about the difference between composition and inheritance and when to use which. This exhaustive Stack Overflow hits a lot of good points:
http://stackoverflow.com/questions/49002/prefer-composition-over-inheritance#_=_
No comments:
Post a Comment