Adapter pattern in Python
Design patterns: Adapter
Hello folks, with this article we continue our journey of exploring design patterns and and in these series we will take a closer look at structural patterns and see an example of their Python implementation.
Structural patterns are the one concerned with how classes and objects are composed to form bigger structures. One such example is the adapter pattern that we will take a closer look today. The adapter pattern or we can simply call it an adapter, makes one interface conform to another that the client expects. By using an adapter…