Dependency inversion principle

Principle

One should depend upon abstractions, not concretions.
Related patterns
Books