六大设计原则-接口隔离原则【Interface Segregation Principle】

六大设计原则 单一职责原则 里式替换原则 依赖倒置原则 接口隔离原则 迪米特原则 开闭原则 接口隔离原则 定义: Clients should not be forced to depend upon interfaces that they don’t use(客户端不应该依赖它不需用的接口) The dependency of one class to another one should d
相关文章
相关标签/搜索