See also

  • The policy-based class design, introduced by A. Alexandrescu, is an interesting variant of the strategy design pattern, in which algorithms are selected at compile time
  • The Design Patterns: Elements of Reusable Object-Oriented Software book, by Erich Gammaet, et al., Addison-Wesley, 1994, is one of the classic books on the subject
  • The Converting color representation recipe introduces the concept of using perceptually uniform color spaces to achieve a more intuitive color comparison

You've successfully learned how to compare colors using the strategy design pattern. Now, let's move on to the next recipe.