Easy Python Patterns: The Observer pattern
Introduction The observer pattern is a software design pattern that allows an object, usually called the subject, to...
Easy Python Patterns: The Memento pattern, or how to build an undo stack
Introduction You can use the memento pattern to (partially) expose the internal state of an object. One use...
Easy Types and Generics in Python: the Prototype Pattern
Introduction The prototype-pattern is a creational design pattern that allows us to create new objects by cloning existing...