设计原则
来源:互联网 发布:手机淘宝评价怎么上图 编辑:程序博客网 时间:2024/09/21 08:51
Just YAGNI, DRY and KISS for everything.
YAGNI - You ain't gonna need it
YAGNI is the principle in extreme programming that programmers should not add functionality until it is necessary. Ron Jefries writes, "Always implement things when you actually need them, never when you just foresee that you need them."
DRY - Don't repeat yourself
In software engineering, Don't Repeat Yourself or Duplication is Evil is a principle of software development aimed at reducing repetition of information of all kinds, especially useful in multi-tier architectures. The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system." The principle has been formulated by Andy Hunt and Dave Thomas in their book The Pragmatic Programmer. You can use refactor to remove duplication.
KISS - Keep it simple stupid by Kelly Johnson
- 设计原则 - 开闭原则
- 设计原则-开闭原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- 设计原则
- JAVA 页面传值 get方式提交 中文乱码问题的解决方案
- 优化MyEclipse速度
- 标题标题明天改
- 有类路由协议的路由通告
- 关于inherited这个关键字。
- 设计原则
- wince6.0 下的流驱动开发范例
- service iptables restart 后丢失配置信息的解决办法
- oracle 多个多个实例 多个监听器
- c++ stack,queue,vector用法
- 计算机框架学习
- 多种方法查看LINUX版本
- 动态报表的配置文件说明
- 验证电脑登录者的用户名和密码