IIRC DI is an uninitialized member of a class, which should be initialized via a setter method later on. Handy in some cases, (1/2)
-
-
-
but most of the times, it is just sloppy. Advantage is decoupling, e.g. two circular dependencies (2/2)
- 2 more replies
New conversation -
-
-
It's a hack that makes your tests cleaner and application code worse.
-
Eh I think it can make things worse, but can make things much better
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.