OOP 博客分类: OO* OOPOOHTML
程序员文章站
2024-03-07 12:17:15
...
OCP: Open for extension, close for modification(black box)
SRP: Single responsibility Principle(do one thing, and do one thing well).
DIP: Dependency Inversion Principle(depend on abstraction, not on implementation)
ISP: Interface Segregation Principle (narrow interfaces)
Law of Demeter: Don’t talk to “strangers” (shallow dependencies)
KISS: Keep It Simple and Stupid
DRY: Don’t Repeat Yourself.
Package level rules:
Links:
http://sis36.berkeley.edu/projects/streek/agile/oo-design-principles.html
推荐阅读
-
OOP 博客分类: OO* OOPOOHTML
-
OO books 博客分类: Books OO
-
Proper abstraction level makes difference. 博客分类: OO* iBATISSQLDAOHibernateJDBC
-
Proper abstraction level makes difference. 博客分类: OO* iBATISSQLDAOHibernateJDBC
-
OOP 博客分类: OO* OOPOOHTML
-
A data matrix implementation 1 博客分类: OO* J#SwingUPBlog
-
Build模式的理解 博客分类: Design Pattern OO编程
-
读取配置文件动态创建对象[C++](4) 博客分类: OO CC++C#工作
-
读取配置文件动态创建对象 [C++] (3) 博客分类: OO CC++C#
-
号外 POSA (Pattern-Oriented Software Architecture) 4 快出版了 博客分类: OO 出版设计模式网络应用编程