
Desgin Pattern
iteye_19862
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HeadFirst设计模式一书中的9条设计原则(Design Principle)
1, [封装变化]:找出应用中可能变化需要变化之处,把他们独立出来,不要和那些不需要变化之处的代码混在一起.(Identify the aspects of your application that vary separate them from what the same.) 2,针对接口编程(Progrma to an interface,not an implementation.)...原创 2009-02-19 13:50:40 · 170 阅读 · 0 评论 -
面向对象编程五大原则
单一职责原则SRP:Single Responsibility Principle 开放封闭原则OCP:Open-Close Principle Liskov替换原则LSP:Liskov Substitution Principle 依赖倒置原则DIP:Dependency Invertion Principle 接口隔离原则ISP:Interface Separate Principle ...原创 2009-02-23 11:50:52 · 128 阅读 · 0 评论