• DIP, the Dependency Inversion Principle
  • 细节依赖于抽象,抽象不依赖于细节。抽象放在高层,并保持稳定