O'Reilly logo
  • Benjamin Buchholt thinks this is interesting:

The Strategy design pattern is a perfect example of delegation. In delegation, two objects are involved in handling a single request. One of the objects receives the request and then delegates operations to a delegate. This is exactly what transpires between the context classes and the strategy classes. The context classes are made up of class and its subclasses. The context classes delegate actions to the strategy classes, made up of strategy interfaces and implementations of those interfaces. So the context classes delegate to the strategy classes.


Cover of ActionScript 3.0 Design Patterns


Details about the Strategy Pattern