2 ms·
I forgot where I first heard it, but I've heard design patterns described as a compensation for deficiencies in the language (and standard library)[1]. The GoF
by pfranz 8y ago
I forgot where I first heard it, but I've heard design patterns described as a compensation for deficiencies in the language (and standard library)[1]. The GoF Design Patterns book is focused on OO C++ (as it existed at that time). I'd be lying if I said I saw no value in them, or that I haven't used the GoF patterns in Python, but it's nice to see many of those patterns built-in to a lot of languages including Python.
[1] "language smell", "missing features", "language weaknesses", "it's a sign that your language is fundamentally broken"
http://wiki.c2.com/?AreDesignPatternsMissingLanguageFeatures http://wiki.c2.com/?AreDesignPatternsMissingLanguageFeatures
https://stackoverflow.com/questions/1579162/are-design-patterns-really-language-weaknesses https://stackoverflow.com/questions/1579162/are-design-patte...
https://blog.codinghorror.com/rethinking-design-patterns/ https://blog.codinghorror.com/rethinking-design-patterns/