依赖倒置原则(Dependence Inversion Principle)

  High level modules should not depend upon low level modules. Both should depend upon abstractions. Abstractions should not depend upon details.Details should depend upon abstractions.

     高层模块不应该依赖低层模块,两者都应该依赖其抽象;抽象不应该依赖细节;细节应该依赖抽象  。

相关文章:

  • 2021-09-27
  • 2021-09-02
  • 2021-08-17
  • 2021-12-12
  • 2021-05-30
猜你喜欢
  • 2022-01-16
  • 2021-05-29
  • 2021-08-05
  • 2021-11-11
  • 2022-02-07
  • 2022-12-23
  • 2021-06-01
相关资源
相似解决方案