Hacker News new | ask | show | jobs
by vivin 3625 days ago
> What this article is about? Snippets from SO answers are not as good as battle-tested code? It's obvious and it's same in all languages.

It's much harder to ship SO copypasta in say, Java or C#, than in Node. JavaScript is a much easier language to grasp and it is also a lot more forgiving and loose. Combine that with NPM and can suddenly be immensely "productive". But the ability to write and push a lot of code very fast also means that it makes it very easy to write and push a lot of bad code very fast.

1 comments

It only depends on programmer. Somebody copy-paste from SO to production, somebody write tests and run them before deployment. There is a lot of dynamic ("forgiving") languages, so JS is not unique here.
This is not about pushing code to production. I don't deny that problem exists in Java. This is about the quality of libraries and frameworks.
I've seen people change Java code in production to fix a bug and recompile it.

This is hardly a behavior that exists only in dynamic languages.

That's a different issue entirely. The article is talking about the quality of frameworks and libraries in JS.
Perhaps, but I was replying to the parent comment, which did talk about dynamic languages and copy paste code to production.