- Django Design Patterns and Best Practices
- Arun Ravindran
- 91字
- 2021-06-25 21:32:01
How to use patterns
Although some of the previous criticisms are quite valid, they are based on how patterns are misused. Here is some advice that can help you understand how best to use design patterns:
- Patterns are best used to communicate that you are following a well-understood design approach
- Don't implement a pattern if your language supports a direct solution
- Don't try to retrofit everything in terms of patterns
- Use a pattern only if it is the most elegant solution in your context
- Don't be afraid to create new patterns
推薦閱讀
- Mastering JavaScript Functional Programming
- Angular UI Development with PrimeNG
- The Modern C++ Challenge
- 編寫高質量代碼:改善Python程序的91個建議
- 數據結構(Python語言描述)(第2版)
- Functional Programming in JavaScript
- 教孩子學編程:C++入門圖解
- Functional Kotlin
- Java程序設計:原理與范例
- Mathematica Data Analysis
- The Complete Coding Interview Guide in Java
- 小學生C++創意編程(視頻教學版)
- iOS開發實戰:從入門到上架App Store(第2版) (移動開發叢書)
- 西門子S7-200 SMART PLC編程從入門到實踐
- Azure Serverless Computing Cookbook