Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, I'm referring to the languages themselves. JS does a very few things better than Java, but it is simply chock full of bizarre type coercion rules, strange semantics, and other "hall of mirrors" gotchas which make it much harder to learn and work with than other dynamic languages. And yes, Java has some of these too, but they occupy a much smaller share of the language base, and are often a side-effect of useful features (such as signed integer types) which JS doesn't provide.

We're stuck with JS because it's "the language that runs in every browser," but that's no reason to grant it praise that it hasn't earned such as "easy to use."

Fragmentation will create headaches regardless of which language is running in the browser.



I've never had any type coercion bugs, can you elaborate?





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

Search: