Take your object list and assign each responsibility to exactly one object | Workbook p.13
Continue from Exercise 1. Make a list of the responsibilities required to run this hotel. There are two flavors:
KNOW — what information does this object need to remember?
DO — what tasks or actions does this object need to perform?
Use your object list from Exercise 1 and decide which object should own each responsibility. Each responsibility is assigned to exactly one object. As you go, you might discover you need new objects, or that some you wrote down before are unnecessary.
For each candidate object, fill out a card like this. The blanks are for you — the workbook isn't going to hand you the answers.
Workbook 4a Module 1, p.13 — Exercise 2: Hotel Responsibilities