CS4233: Class 18 Patterns of patterns
The Example Quack counting Managing flocks Tracking individuals Looking to the future Reading
You have already seen how patterns can work together. For example, when we considered the Facade pattern, we noted that we will often need to apply an Adapter between the Facade and the actual class it interacts with.
In this class we will look at a somewhat silly example from the book Head First Design Patterns. This example primarily illustrates the Composite and Visitor patterns.