Hacker News new | ask | show | jobs
by garretraziel 4127 days ago
What Node.js taught me is that JavaScript is language like any other. It has good parts, it has quirks and you have to know what are its strenghts and what are its weaknesses to use it properly. And you can say that about any other language.
2 comments

New learning philosophy: starts with the corner cases, papercuts and deadends, then enjoy the ride.
Ehm, yes. Sorry to ask this, but what is your point? I don't understand why you are saying this thing, which nobody here would disagree with.

Does what you just said mean that we shouldn't talk about JS's weaknesses?

Or do you mean that we can, but that the points the author brings up have been beaten to death time and time again here on HN and this post + the inevitable comments it will attract have nothing to offer?

Those are the only two options I can think of for now. Or did you mean something else?

As I mentioned in another comment, whether this is inherently a weakness is up for debate. Valid code that fails can happen in any language. The problem here is Javascript can be very, very forgiving, which allows one to make mistakes like this.

There are many totally lucid, on-point criticisms of Javascript and at least once a day the language ticks me off, but this one is not so black-and-white.