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