News for hackers. Stuff that matters.
Re:You have ruined JavaScript by seanmcdirmid on Wednesday April 23, 2014 @08:43AM (#7633559)
Dependency injection is more like dynamic scoping, whereas most formal parameters are lexically scoped.
Re:You have ruined JavaScript by davexunit on Wednesday April 23, 2014 @08:50AM (#7633589)
Fair point, but that makes DI a really poor implementation of dynamic scoping.