- Django Design Patterns and Best Practices
- Arun Ravindran
- 116字
- 2021-06-25 21:32:01
Criticism of patterns
Despite their near universal usage, patterns have their share of criticism too. The most common arguments against them are as follows:
- Patterns compensate for the missing language features: Peter Norvig found that 16 of the 23 patterns in design patterns were invisible or simpler in dynamic languages such as Lisp or Python. For instance, as functions are already objects in Python, it would be unnecessary to create separate classes to implement strategy patterns.
- Patterns repeat best practices: Many patterns are essentially formalizations of best practices, such as separation of concerns, and could seem redundant.
- Patterns can lead to over-engineering: Implementing the pattern might be less efficient and excessive compared to a simpler solution.
推薦閱讀
- 大學計算機基礎(第二版)
- Spring Boot開發與測試實戰
- 密碼學原理與Java實現
- HoloLens Beginner's Guide
- Java開發入行真功夫
- Spring Boot Cookbook
- 前端HTML+CSS修煉之道(視頻同步+直播)
- Angular開發入門與實戰
- Mastering Backbone.js
- Visualforce Developer’s guide
- Java Web從入門到精通(第3版)
- Advanced UFT 12 for Test Engineers Cookbook
- Python網絡爬蟲技術與應用
- Hands-On Robotics Programming with C++
- 零基礎學SQL(升級版)