News for hackers. Stuff that matters.
Re:Node.js: Some quick optimization advice by draperp on Monday October 12, 2015 @02:54PM (#10376347)
Every JS dependency injection framework that I've ever seen uses it.
Re:Node.js: Some quick optimization advice by untog on Tuesday October 13, 2015 @10:05AM (#10380517)
Serious question: why use a dependency injection framework with JS?
Re:Node.js: Some quick optimization advice by STRML on Monday October 12, 2015 @06:45PM (#10377336)
Yes, and that's widely been regarded as a mistake.

Now that we have ES6 imports and wide CommonJS support I don't see any good reason to use hacky DI with Function#toString.