3 ms·
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 a
by s_y_n_t_a_x 7y ago
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)
- caiocaiocaio 7y agoJavascript 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.
- s_y_n_t_a_x 7y agoTypeScript 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.
- ptx 7y ago> 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.
- s_y_n_t_a_x 7y agoYes, but it hasn't been done for any other language.