News for hackers. Stuff that matters.
Re:Why and how to use service injection in Node.js by eyelidlessness on Sunday October 31, 2021 @08:55PM (#29062007)
Thinking on it further I want to give credit to one of the two major influences on my preference:

1. This one: “explicit is better than implicit” as a principle

2. Not this one: functional programming

“Pure DI” presumably insinuates the latter, but can get rather muddy (is dynamic scope “pure?” lololol) and I think calling it “explicit DI” might be more accessible and easier to understand.

There are no comments on this comment yet.