•COMP
401: Eight simple rules
1. Change happens: design for it.
•2. It should be easy to locate change
location.
•3. One change -> one place.
•4. Change should require minimal (or no)
change to the
rest of the program.
•5. Error in changing X should not break Y.
•6. Delegate up or down to simplify.
•7. Can recompile be avoided?
8.
The real world is 10, 100, 1000,… times
more
complex than
the examples we’ll see here.