3 ms·
I work with JS every day and am somewhat ambivalent about it but I absolutely do not want to see a language controlled by one vendor (in this case Google) to be
by afavour 3y ago
I work with JS every day and am somewhat ambivalent about it but I absolutely do not want to see a language controlled by one vendor (in this case Google) to become a browser standard. It would be like the JS equivalent of Google trying to get everyone to make AMP pages instead of regular HTML.
As it is there are two simple answers for Dart anyway: it transpiles to JS and WebAssembly offers the possibility to use it 'natively' too.
- lern_too_spel 3y agoJavaScript was controlled by Mozilla. Standardization into ECMAScript only came later after pressure from Microsoft and a mostly compatible reimplementation called JScript. Dart is also an ECMA standard, though only Google contributes because nobody else cares about it. AMP was far less controlled by Google in practice when it was relevant. https://github.com/ampproject/meta-tsc/commit/4f18f83794ed251bea7dcf8459bef9ad9bae65dd https://github.com/ampproject/meta-tsc/commit/4f18f83794ed25... JavaScript is an awful language, with many warts that are impossible to fix while maintaining backwards compatibility, but as one of your sibling commenters mentioned, the original Dart had problems too.