摘要: 开放封闭原则 Software entities (classes, modules, etc) should be open for extension, but closed for modification. 软件实体像类,模块等应该对扩展是开放的,而对修改是封闭的。 里氏替换原则 Derived classes must be usable through the ba... 阅读全文
posted @ 2007-08-07 11:27 许晓光 阅读(317) 评论(0) 推荐(0)