Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Using duck typing relies on your ability to recognize the places where your application would benefit from across-class interfaces. It is relatively easy to implement a duck type; your design challenge is to notice that you need one and to abstract its interface.
This section contains patterns that reveal paths you can follow to discover ducks.