There must be design patterns. Python supports OO, process-oriented and FP. There must be design patterns. It is recommended that you read the design patterns of GOF first and then learn to write the python version of DP
Design patterns have nothing to do with language, they are almost the same as algorithms. It is recommended to read the book "Head First Design Pattern" (although the examples are explained in Java), the design pattern is very vivid and easy to understand.
Design patterns are just best practices. Their purpose is to tell you "it is better to use a certain way of thinking to solve certain types of things." Design patterns exist not only in the field of computer programming, but also in various other fields. ".
http://dongweiming.github.io/category/she-ji-mo-shi.html
Design pattern language independent
Some sample codes of python design patterns
@vczh’s answer on Zhihu should help you solve your doubts http://www.zhihu.com/question/20685467/answer/36489645
There must be design patterns.
Python supports OO, process-oriented and FP. There must be design patterns.
It is recommended that you read the design patterns of GOF first and then learn to write the python version of DP
Design pattern has nothing to do with OO, has nothing to do with language, and has nothing to do with specific programming. It is an abstract level.
Design patterns have nothing to do with language, they are almost the same as algorithms.
It is recommended to read the book "Head First Design Pattern" (although the examples are explained in Java), the design pattern is very vivid and easy to understand.
Design patterns are just best practices. Their purpose is to tell you "it is better to use a certain way of thinking to solve certain types of things." Design patterns exist not only in the field of computer programming, but also in various other fields. ".