软件工程 - 软件开发原则

参考

  1. https://code.tutsplus.com/tutorials/3-key-software-principles-you-must-understand--net-25161 (3 Key Software Principles You Must Understand)
  2. https://blog.csdn.net/zj_show/article/details/8065836 (DRY)
  3. https://blog.csdn.net/zj_show/article/details/8071473 (KISS)
  4. https://blog.csdn.net/zj_show/article/details/8078447 (YAGNI)

什么是真爱什么就是真正的编码 -- What's true for love, is true for code.

1. DRY(Don't Repeat Yourself)

降低可管理单元复杂度的一个基本策略就是将他们拆解成更小的单元。
个人认为,对付complexity的工具有抽象能力,拆分成可理解,单一原则的单元。
一图胜多言

2. KISS

留坑

3. YAGNI留坑

猜你喜欢

转载自www.cnblogs.com/allen2333/p/9077756.html