摘要: 6大设计原则: 单一职责原则、里氏替换原则、依赖倒置原则、接口隔离原则、迪米特法则、开闭原则 #单一职责原则:Single Responsibility Principle,简称SRP。 There should never be more than one reason for a class t 阅读全文
posted @ 2020-05-06 10:59 DarGi 阅读(144) 评论(0) 推荐(0)