How dependecy injection increases coupling?
Posted
by
B?????
on Programmers
See other posts from Programmers
or by B?????
Published on 2014-06-04T13:57:47Z
Indexed on
2014/06/04
15:42 UTC
Read the original article
Hit count: 318
dependency-injection
|coupling
Reading wiki page on Dependency injection, the disadvantages section tells this :
Dependency injection increases coupling by requiring the user of a subsystem to provide for the needs of that subsystem.
with a link to an article against DI.
What DI does is that it makes a class use the interface instead of the concrete implementation. That should be decreased coupling, no?
So, what am I missing? How is dependency injection increasing coupling between classes?
© Programmers or respective owner