SOLID principles in Delphi [5] — The Dependency Inversion Principle

It’s the last SOLID principle: the Dependency Inversion Principle:

  1. High-level modules should not depend on low-level modules. Both should depend on abstractions.
  2. Abstractions should not depend on details. Details should depend on abstractions.