4 ms·
Yup. SwiftUI does it right. One language for your whole app.
by fassssst 3y ago
Yup. SwiftUI does it right. One language for your whole app.
- zerr 3y agoI find Flutter's nested hell quite unpleasant to read or write. For declarative UI, XAML seems like a better approach.
- zigzag312 3y agoJust break the tree into smaller semantic components. I, on the other hand, find XAML much more unpleasant to read or write than Flutter.
- TillE 3y agoA mistake I've made a few times is thinking let's separate code and data, that sounds great. But then I realize I need to do some pretty complex stuff in the data, and I'm faced with the choice of building some hacky monstrosity, or a DSL, or just going back to the main code. The basic tutorial examples of SwiftUI look like something you could easily do in XML, but doing it in real code makes it so much more powerful, and ultimately simpler for everyone.