Hacker News new | past | comments | ask | show | jobs | submit login

What an extremely weak criticism that has been played out.

1) Don't concatenate them in the first place

2) Use TypeScript

Pro-tip, if the world is going JS and you don't get it, it's probably you.

With JS (TypeScript) I can develop on every platform natively (React Native).

I can compile to native code. (AssemblyScript).

I'm not saying you can't do those things on other languages, but JS is becoming a powerhouse thanks to it's ecosystem.

Also, you see many other communities like Rust copying lessons learned from web developers (React/Redux/etc)




Javascript is such a good language that, even after two decades of fixes, it's only good when you use a different language - specifically created to address JS's many problems - that compiles to it.


TypeScript is JavaScript. They follow and contribute to the Ecmascript spec.

It pretty much just strips the typing out when "compiling".

All the JS problems have been solved in ES6+

There are many languages that have supersets.


> develop on every platform natively (React Native)

If "native" means bundling a runtime and having your program pass serialized messages to a different thread where the actual native platform code lives, the same can be said for any language. You just need to build the wrappers for the native API – which is a lot of work but could be done for QBASIC running in DOSBox just as well as for JS running on V8.


Yes, but it hasn't been done for any other language.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: