Object Composition Series

There’s a new series for members on object composition. Experienced software developers have probably heard the famous Gang of Four quote: “Favor object composition over class inheritance”, but only have a vague idea of what object composition means, how it’s different from class inheritance, and the specific details of how object composition is accomplished. There’s a corresponding blog post on JavaScript Scene.

This series takes a deep dive, looking at different types of object composition, comparing their relative pros and cons, and demonstrating examples of how to do it in code.

You’ll learn:

  • What is object composition, and how is it different from class inheritance?
  • What is aggregation?
  • What is delegation?
  • What is concatenation?
  • When should you apply them?

4 videos, about an hour and 40 minutes, total. Members, sign in and watch now.

Not a member? You’re missing out. There are lots of other lessons inside. Sign up now.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.