Dart might be a bit of a kitchen sink language (what's it with Danes and operator overloading?), but you couldn't port over the minimalism of Go by addition, it would not be minimalism anymore.
Dart innovations like "collection if/for" syntax seem laughably trivial, but when you look at the examples for declarative UI it should become immediately clear that they reduce cognitive load a lot compared to the equivalent flatMaps or imperative state buildup. Those syntax goodies seem really nice in the scope Dart is made for, but I think that they would look seriously out of place in a more general purpose language.
I knew exactly how handy that was the first time I saw it.
It's curious to argue that we should all be content with "universal" languages and stop developing new ones by citing TypeScript and Kotlin, two brand new languages created specifically to replace the already existing "universal" languages of JavaScript and Java.
It's #23 in the current TIOBE index.
https://www.tiobe.com/tiobe-index/
It's a long, long way from being as widely used as the top 10 languages, but many people outside of Google are using it.
Since Dart is the language of Flutter, which is growing in popularity, it should substantially increase its user base in the years ahead.
It was rescued by the AdWords team, and later the Flutter team decided to use it instead of JavaScript, in the process they turned Dart into a strongly typed language with type inference (thus everyone from the dynamic camp left the design team), and nowadays the future of Flutter and Dart are tied together.
Flutter became enough of a nuisance that Android team has now come up with Jetpack Composer, to detriment of the existing Android UI toolkits, because they need to have their Java/Kotlin Flutter.
> Be kind. Don't be snarky.
Your comment would have been quite helpful if you just removed the first line.
Relevant XKCD: https://xkcd.com/927/
Probably makes sense, not what Go was designed for, but I really don't get big-G's choice of "one different language for each niche"...
I mean, ffs, Go and Dart are both garbage-collected and compiled, even their lists of pros and cons look similar. Couldn't they just blend their features into one language (like, eg., add generics + some syntactic sugar to Go, to make it more usable for app and GUI code too?) instead of fragmenting the mindspace even more? Why don't people see the advantage of "universal" languages? It's obvious that developer love them and they are empowered by them, hence the success of languages like Javascript/Typescript and Kotlin despite their obvious flaws and limitations!