logoalt Hacker News

chipsraffertylast Saturday at 9:57 PM1 replyview on HN

It is fine, though.


Replies

const_castlast Saturday at 10:34 PM

No, it’s footgunny and riddled with bugs. Most JS barely works and edge cases just aren’t addressed.

I’ve seen undefined make it all the way to the backend and get persisted in the DB. As a string.

JS as a language just isn’t robust enough and it requires a level of defensive programming that’s inconvenient at best and a productivity sink at worst. Much like C++, it’s doable, but things are bound to slip through the cracks. I would actually say overall C++ is much more reasonable.

show 1 reply