抽象不要依赖细节,细节要依赖抽象。
Abstractions should not depend on details. Details should depend on abstractions.
抽象不应该依赖于细节,细节应该依赖于抽象,要针对接口编程,不要针对实现编程。
Abstractions should not depend upon details, details should depend upon abstractions. Program to an interface, not an implementation.
抽象不应该依赖于细节,细节应该依赖于抽象,要针对接口编程,不要针对实现编程。
Abstractions should not depend upon details, details should depend upon abstractions. Program to an interface, not an implementation.
应用推荐