How to Recognize Patterns
- Look at the intent of the pattern
- E.g. COMPOSITE has different intent than
DECORATOR
- Remember common uses (e.g. STRATEGY
for layout managers)
- Not everything that is strategic is an example of
STRATEGY pattern
- Use context and solution as "litmus
test"
previous |
start |
next .... [Slide 52] ....