The Strategy Pattern
Adam Freeman · Apress eBooks · 2014
The strategy pattern is used to create classes whose functionality can be extended without being modified or subclassed, which can be useful when you are delivering frameworks to third-party developers or when any changes, however small, to key classes will trigger extensive and expensive testing and validation procedures. Table 24-1 puts the strategy pattern into context. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.