4 ms·
Dependency injection is more like dynamic scoping, whereas most formal parameters are lexically scoped.
by seanmcdirmid 13y ago
Dependency injection is more like dynamic scoping, whereas most formal parameters are lexically scoped.
- davexunit 13y agoFair point, but that makes DI a really poor implementation of dynamic scoping.