摘要:
里氏替换原则 里氏替换原则的英文名称是:Liskov Substitution Principle,简称LSP(老色批)。 1里氏替换原则的定义 英文定义有两种: ①If for each object o1 of type S there is an object o2 of type T suc 阅读全文
posted @ 2020-11-23 21:17
喵酱张-Eric
阅读(854)
评论(0)
推荐(0)
摘要:
单一职责原则单一职责原则的英文名称是Single Responsibility Principle,简称SRP。1单一职责原则的定义英文原话是:There should never be more than one reason fro a class to change。UnderStanding 阅读全文
posted @ 2020-11-23 21:12
喵酱张-Eric
阅读(103)
评论(0)
推荐(0)