News for hackers. Stuff that matters.
Re:Show HN: I built a Flutter job app for both Android and iOS by Alifatisk on Saturday October 14, 2023 @06:25AM (#37879409)
> 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.

Re:Show HN: I built a Flutter job app for both Android and iOS by vasper on Monday October 23, 2023 @03:28PM (#37990397)
I 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