4 ms·
My probably not so popular opinion on dependency injection in dynamic languages is that you shouldn't bother with it. I heartily agree. Imagine trying to do de
by kyllo 12y ago
My probably not so popular opinion on dependency injection in dynamic languages is that you shouldn't bother with it.
I heartily agree. Imagine trying to do dependency injection in a Lisp or Scheme app. It'd be like putting legs on a snake. Totally unnecessary. Now recall that JavaScript was designed to resemble Scheme with a C-like syntax.