4 ms·
I don't think this is a fatal decision at all. With Dart 2 syntax making new optional, widget layout is quite compact and easily readable. I think the Flutter
by wstrange 8y ago
I don't think this is a fatal decision at all.
With Dart 2 syntax making new optional, widget layout is quite compact and easily readable. I think the Flutter team has made the right call here. Sticking with pure Dart has a lot of advantages (tooling, IDE support, etc.)
- thosakwe 8y agoI agree with this, and in reference to the prior comment, yes, I’ve seen the issue in question and read it, I even commented on it a few days ago. IMO the benefits of something like JSX really don’t make as much sense in Flutter. For me, the main thing is, why use XML syntax to represent something that’s truly not XML at all?
- natecavanaugh 8y agoIf you think of JSX as a DSL rather than a souped up XML, it makes more sense. XML is just a different kind of abstraction, so rather than thinking of it's output, it's good spots are in the way it helps structure your input.
- maxdo 8y agocode and layout should be separated in my opinion, and jsx with thinks like styled-components did a great job, so you can easily read the UI structure rather then "complite" in your brain those tons of dot's braces align differently.