![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OO
文章平均质量分 55
iteye_11909
这个作者很懒,什么都没留下…
展开
-
The Principles of OOD by Uncle Bob
[size=small]What is object oriented design? What is it all about? What are it's benefits? What are it's costs? It may seem silly to ask these questions in a day and age when virtually every software d...原创 2010-01-12 18:00:28 · 121 阅读 · 0 评论 -
面向对象设计原则 by Uncle Bob
原文:[url]http://fauvism.iteye.com/blog/568610[/url] [size=small]类设计五大原则: [table] |[b]SRP[/b] |单一职责原则|一个类应该有且仅有一个需要改变理由。 | |[b]OCP[/b] |开闭原则|你可以扩展一个类的行为而不用修改它。 | |[b]LSP[/b] |里氏替换原则|派生类必须可以替换...原创 2010-01-13 10:34:58 · 176 阅读 · 0 评论 -
面向对象设计原则(一) SRP
[size=small] SRP(The Single Responsibility Principle) 单一职责原则 TBD [/size]原创 2010-01-14 16:12:48 · 123 阅读 · 0 评论