3 ms·
SwiftUI’s problems are due to Swift in one respect. The way Swift’s type inference works plays very badly with SwiftUI view builders leading to very long compil
by cageface 2y ago
SwiftUI’s problems are due to Swift in one respect. The way Swift’s type inference works plays very badly with SwiftUI view builders leading to very long compile times and many cases in which the compiler will just give up entirely and you’re left randomly commenting out bits of code.
That this is the best the richest company in the world can do with the API to their most valuable product is quite astonishing.
- yen223 2y agoSometimes I lament the fact that in Jetpack Compose, @Components don't return anything. They are all side-effecting functions, even though the view is supposed to be a function of the arguments. But then I hit a "Unable to infer complex types" error in SwiftUI, and think maybe the Google folks got it right after all.