Chapter 4. Interfaces and design patterns
After completing this chapter, you will be able to
Define interfaces and identify the ways in which they differ from classes.
Apply design patterns, such as the Adapter and Strategy patterns, by using interfaces.
Understand an interface’s versatility through duck-typing, mixins, and fluent interfaces.