April 2019
Intermediate to advanced
360 pages
9h 17m
English
To implement the composite design pattern, we will create a kitchen staff management system that includes a KitchenStaff interface and a Chef class. We will use the following chef hierarchy in our implementation—Executive Chef, Head Chef, Sous Chef, Line Chef, and Commis Chef. Using the composite design pattern, we will be able to treat the chef tree structure as if it were a single object.
Read now
Unlock full access