要依赖抽象
Rely on abstractions
以上为机器翻译结果,长、整句建议使用 人工翻译 。
抽象不要依赖细节,细节要依赖抽象。
Abstractions should not depend on details. Details should depend on abstractions.
youdao
抽象不应该依赖于细节,细节应该依赖于抽象,要针对接口编程,不要针对实现编程。
Abstractions should not depend upon details, details should depend upon abstractions. Program to an interface, not an implementation.
应用推荐
模块上移
模块下移
不移动