摘要: 设计模式 七大设计原则 : 单一职责原则: Single Responsibility Principle 一个类只负责一项职责 SRP 里氏替换原则: Liskov Substitution Principle 所有引用基类的地方,必须能透明地使用其子类的对象 LSP 依赖倒置原则: Depend 阅读全文
posted @ 2018-09-04 19:56 Darryl_Tang 阅读(901) 评论(0) 推荐(0) 编辑