News for hackers. Stuff that matters.
Re:Structure and Interpretation of Computer Programs – JavaS... by s_y_n_t_a_x on Wednesday December 18, 2019 @10:43AM (#21825944)
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)

Re:Structure and Interpretation of Computer Programs – JavaS... by caiocaiocaio on Wednesday December 18, 2019 @11:12AM (#21826295)
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.
Re:Structure and Interpretation of Computer Programs – JavaS... by s_y_n_t_a_x on Wednesday December 18, 2019 @12:18PM (#21827035)
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.

Re:Structure and Interpretation of Computer Programs – JavaS... by ptx on Wednesday December 18, 2019 @02:24PM (#21828310)
> 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.

Re:Structure and Interpretation of Computer Programs – JavaS... by s_y_n_t_a_x on Wednesday December 18, 2019 @04:14PM (#21829552)
Yes, but it hasn't been done for any other language.