Six GoF design patterns, Python style

Although it usually requires some adaptation, Python makes implementing most of the GoF design patterns trivial. In some cases, they're actually part of the core language; in most of the others, they're a lot simpler in Python than C++ et al. Here I have implemented examples of the following common design patterns in Python: Iterator […]