5开发原则
SOLID
Single responsibility 单一职责
Open close principle 开闭原则
Lisk of substitution 替换原则(能被子类替代使用)
Interface segregation 接口隔离
Dependences 依赖抽象而不是具体
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 小贺同学的blog!
评论
SOLID
Single responsibility 单一职责
Open close principle 开闭原则
Lisk of substitution 替换原则(能被子类替代使用)
Interface segregation 接口隔离
Dependences 依赖抽象而不是具体