Dependency Inversion

Preview

The Dependency Inversion Principle states that high-level modules should not depend on low-level modules. Both should depend on abstractions. Depend on interfaces, not concrete classes.

Sign in to read the full chapter.

Checking access…