3 ms·
> Dart is one of the best languages out there. I've tried many of them, perhaps too many, and Dart easily ranks as one of my all-time favorites. It's clean, int
by Alifatisk 3y ago
> Dart is one of the best languages out there. I've tried many of them, perhaps too many, and Dart easily ranks as one of my all-time favorites. It's clean, intuitive, and I hope it will gain more popularity beyond just being used in Flutter.
I somewhat agree, Dart is good. Performs well and is very flexible.
What I don't like is the lack of type union. I don't know how to get around that.
- vasper 3y agoI cannot think of any use of union types in Flutter, if I'm being honest. I'm not much of a TypeScript developer, but if I understand it correctly, it works quite well there because TS is more structural, where a union is more of a representation of the fields shared by two (or more) types. I feel like Flutter/Dart just works in a bit of a different manner compared to TS/React Native, and it shouldn't be looked at from the same angle. Swift and Kotlin also do not have union types, and mobile developers somehow manage without them :D