|
|
|
|
|
by PommeDeTerre
4741 days ago
|
|
In practice, the automatic "wiring-up" often breaks, and in any sizable system it quickly becomes very difficult and time consuming to track down and fix such breakages. Things can become even worse when the libraries or frameworks you're using end up having bugs in them that interfere with the dependency injection they're performing. Too many times I've seen very experienced and capable developers lose hours, and even days in some cases, dealing with dependency injection issues. Just one of these incidents, which will happen in any serious project, will far exceed the time and effort it would've taken to write the equivalent code by hand. |
|