2. Structural Design Patterns in Python
The primary concern of structural design patterns is how objects are composed together to form new, larger objects. Three themes stand out in structural design patterns: adapting interfaces, adding functionality, and handling collections of objects.
2.1. Adapter Pattern
The Adapter Pattern is a technique for adapting an interface so that one class can make use of another class—that has an incompatible ...