DI 101 — Part 1
Roberto Orgiu
1965

Hey, its a nice article but you’ve got the dependency inversion principle wrong. The dependency inversion does not deal with injecting or creating dependencies. It states that you should have the dependencies flow in a single direction, with high level policies not depending on low-level details, by depending on abstractions instead. You can use Dependency Injection to adhere to or disobey the dependency inversion principle. Please read this article: http://martinfowler.com/articles/dipInTheWild.html

Like what you read? Give Kaloyan Roussev a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.