1. All patterns provide a way to let some part of a system vary independently of all other parts.
2. Leave the class working well, and change the others.
3. Program to an interface, not an implementation.
1. All patterns provide a way to let some part of a system vary independently of all other parts.
2. Leave the class working well, and change the others.
3. Program to an interface, not an implementation.