POODR Book Club Chapter 8

Hosted By
Jim R.

Details
In this chapter, Metz wraps up the discussion of code arrangement with object composition. While not fit for every situation, Metz maintains that composition works well for “has-a” relationships, where an object logically contains several other objects with a role that has specific behavior.
Below are a few questions to get our conversation started around Chapter 8. Feel free to answer any one of these and reply with a helpful comment on someone else’s post as well.
- What is the meaning of “has-a” versus “is-a” relationships in the context of inheritance and composition?
- How might you implement the PartsFactory pattern in a different domain?
- Any other thoughts or questions you have on this chapter?

Mad-Railers
See more events
Online event
This event has passed
POODR Book Club Chapter 8