← Back to context

Comment by gear54rus

8 years ago

no man its objectively good language, believe me.

see how that sounds? that's how you js haters sounds each time I see this bs here on this and many other platforms that wouldn't be possible without js.

> no man its objectively good language, believe me.

A language that requires a 21x21 matrix to remember how equivalency works is objectively bad: https://dorey.github.io/JavaScript-Equality-Table/unified/

A language whose default sort behavior is the following is objectively bad:

    [5, 12, 9, 2, 18, 1, 25].sort(); → [1, 12, 18, 2, 25, 5, 9]

I used to be a frontend dev. I have written hundreds of thousands of lines of production JS code for apps that many Hacker News users use on a regular basis. I well understand how much JS has made possible. The web would not be the same without it. But that doesn't mean it's a good programming language.

  • Sanitize your data and you will be fine. Need more static checks? use flow or typescript, but most of the time they are irrelevant. Nice attempt at disguising the usual bs the-code-you-will-never-see-in-prod complaints with that equality table.

    I'm sorry you are butthurt over your job, don't try to nitpick on minor things to dissuade others from enjoying the unparalleled power that comes with JS and its ecosystem.