Hierarchy Identification Tips
1. Explore is-a ("kind-of") relationships.
ATM example: Withdrawal is a (kind of) Transaction. Withdrawal
is not "part of" Transaction.
2. Name key abstractions.
3. Separate mixed classes where necessary.
4. Place super/subclass sets in hierarchies.
5. Look for reusable behaviors
reuse existing patterns and frameworks
record new patterns and frameworks for reuse within project
or in future
|