Hacker Newsnew | past | comments | ask | show | jobs | submit | draperp's commentslogin

Sure. And CPython isn't a language. It's the canonical Python implementation that is used 99% of the time.

When it comes to non-browser production code (e.g. servers), it's NodeJS or nothing.


Exactly. And if you did, you would have to look at source maps to decode your stack traces.


Every JS dependency injection framework that I've ever seen uses it.


Serious question: why use a dependency injection framework with JS?


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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: