News for hackers. Stuff that matters.
Re:Composition over Configuration by _bxg1 on Wednesday April 10, 2019 @01:02AM (#19621989)
It's the difference between a strict hierarchy and cross-cutting sets. Composition allows you to "talk about" a given category of which any set of objects can be members, independently of their membership in other categories. Whereas with inheritance, if a member of category B wants to reuse aspects of category A, all B's must strictly be A's.

There are no comments on this comment yet.