The Common Reuse Principle (CRP)-OO设计的全部重用原则 ... Liskov Substitution Principle (LSP)-OO设计的里氏替换原则 Dependency Inversion Principle (DIP)-OO设计的依赖倒置原则 Interface Segregation Principle (ISP)-OO设计的接口分隔原则 ...
基于8个网页-相关网页
设计的依赖倒置原则
The design relies on the inversion principle
以上为机器翻译结果,长、整句建议使用 人工翻译 。
开发人员所赞同的一点是:编写良好的代码易于维护,依赖性倒置原则是进行可维护性设计的可靠方法。
One thing developers have come to agree on is that well-written code is maintainable, and the Dependency Inversion Principle is a sure way to design for maintainability.
youdao
应用推荐
模块上移
模块下移
不移动