2020年10月11日

摘要: 六大原则 单一职责原则: There should be no more than one reason for a class to change 最佳实践: 接口的设计一定要做到单一职责,类的设计尽量做到只有一个原因引起变化。 里氏替换原则: Functions that use pointer 阅读全文
posted @ 2020-10-11 07:47 codingEskimo 阅读(90) 评论(0) 推荐(0) 编辑

导航