4 ms·
It was easy for me. I know almost no JavaScript. I know C and asm and python. So... looking at the two, guess which one looked better to me? The code for Dart
by SlowRobotAhead 7y ago
It was easy for me.
I know almost no JavaScript. I know C and asm and python. So... looking at the two, guess which one looked better to me?
The code for Dart just makes sense. It’s not beholden to JS or XML or HTML or CSS. It just does it’s own thing.
If you are heavily invested in JS, I bet there are aspects of Flutter that are still appealing, but if your aren’t invested in JS, I see no reason to get in just for React sake.
- saagarjha 7y ago> I know almost no JavaScript. I know C and asm and python. So... looking at the two, guess which one looked better to me? I fail to see your point; surely Dart was a new language for you as well?
- pdr2020 7y agoI assume he means that in selecting between two languages, with that given lang background, he made a preference choice of Dart. As a counterpoint, we have whole swathes of JS engineering teams building new mobile apps and would select react-native / Typescript (and where possible Expo) over Dart.
- thsowers 7y agoFWIW, and this is just my personal experience, but I find Dart to be very similar to Typescript, and we have JS engineering teams building out new mobile apps in Dart ;)
- footweebole 7y agoAs a JS engineer with experience using react I can say that Flutter/Dart is so much easier from a development perspective then react-native. I've done a little bit of swift development as well and the ease/speed of development is comparable. Maybe react-native is easier if you don't know react but for me it seems to keep only the worst parts of react and forcing you into using a lot of components for ui that I found to be poorly documented.
- pldr2244 7y agoIf you can manage to remain inside the Expo dev-loop, that personally is my preference for ease and first in class DX. I’ll definitely continue to observe Flutter/Dart, but the investment/payoff doesn’t appear large enough yet for our use cases.
- SlowRobotAhead 7y agoNot having to ALSO know JS + XML + HTML + CSS... it looks familiar coming from C. If Flutter apps are two things, Flutter and Dart. Then React Native apps are six things or so.