+ 9
What is the difference between dependency injection and dependency inversion?
Are they the same thing? Are they ways of abstracting out hardware or other interfaces? Are they just fancy names for polymorphism?
4 Réponses
+ 2
Dependency injection is one method to achive dependency inversion.
+ 2
Hardware abstraction is done by drivers. And no - polymorphism is something completly different.