Brian Gilstrap on Dependency Injection
Brian Gilstrap: I believe the problems we have with dependency resolution (which dependency injection attempts to solve) are not the real problem, they are the symptom. The real problem is that we ...
Go read.
Re: Brian Gilstrap on Dependency Injection
He wants runtime identification of objects by name as well as by type. He wants the wiring of objects to be done by name as well as by type. And he wants it to be done by the language runtime.
He wants the runtime name to form a hierarchy like the runtime type form a hierarchy, although it could be a completely different one.
In Java, the language supports the construction of objects (calling the constructor) and the use of objects (calling methods, assigning to fields, etc.). The "wiring", such as done by Spring, is simulated with either construction (constructor injection) or use (setter injection).
He probably wants the language to openly support the concept of "wiring."
Of course I could be completely wrong.