Complete the Open-Closed Principle: a component should be open for extension but closed for what?
Complete the Open-Closed Principle: a component should be open for extension but closed for what?
Answer
modification
You extend it within its functional domain without editing its internals, which is achieved by putting an abstraction between the component and the thing that varies.
Pressman 9e ch11 §11.1–11.2.2