As mention bye @DeaD_EyE many patterns get used in Python without of thinking of it or talking about it.
@Brandon Rhodes Python Patterns has good write up about this.
You see stuff like this when talking about verdict/usage of pattern in Python.
@Brandon Rhodes Python Patterns has good write up about this.
You see stuff like this when talking about verdict/usage of pattern in Python.
Quote:The “Factory Method” pattern is a poor fit for Python.
It was designed for underpowered programming languages where classes and functions can’t be passed as parameters or stored as attributes.
In those languages, the Factory Method serves as an awkward but necessary escape route.
But it’s not a good design for Python applications