by fiedzia · 10y ago · 0 comments
A few:
1. The production success stories are good - within google, and that's probably important factor here. 2. Dart is indeed transpiled to js, like many alternatives. Its no worse than any of them, however... 3. It is owned by google. This allows it to ensure that it does well all the things google needs: being better than js, having better stdlib, being integrated with google frameworks and work on platforms google needs to support.
So you could in theory pick another existing language and do the same thing with it. And each of them would have some problems - either it wouldn't do something, or would do in a way that doesn't align with google needs or is developed by someone who has different priorities. So having your own does have benefits (at least for Google).
I've taken a look on the Flutter, but it seems (through a glance) that it is another React-Native (or take Xamarin). So, this is not the first solution to share code between web and mobile. React-Native, though, is not the best for Android, and this framework should be awesome for it, thanks for the same company.
But the main question for me personally – experienced JS developer, looking into possibilities to write more better browser code, why should I consider Dart instead of TypeScript, or ClojureScript, or Elm? I am really curious about this question!