Chapter 4. Interfaces and design patterns

After completing this chapter, you will be able to

Image Define interfaces and identify the ways in which they differ from classes.

Image Apply design patterns, such as the Adapter and Strategy patterns, by using interfaces.

Image Understand an interface’s versatility through duck-typing, mixins, and fluent interfaces.

Image Identify ...

Get Adaptive Code: Agile coding with design patterns and SOLID principles, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.