摘要: Encapsulates what varies. Favor composition over inheritance. Program to interfaces, not implementation. Classes should be open for extension, but closed for modification. Depend upon abstractions. ... 阅读全文
posted @ 2007-07-17 16:02 南守拥 阅读(380) 评论(2) 推荐(0) 编辑