3 ms·
GUI Toolkits often benefit from “looser” type requirements than Go provides. Compare SwiftUI’s way of writing a static UI view to Goey’s: https://www.objc.io/b
by joeblubaugh 6y ago
GUI Toolkits often benefit from “looser” type requirements than Go provides.
Compare SwiftUI’s way of writing a static UI view to Goey’s:
https://www.objc.io/blog/2019/11/05/static-types-in-swiftui/ https://www.objc.io/blog/2019/11/05/static-types-in-swiftui/
The two layouts are very similar.
I’m a Professional Go Programmer, but I find the Swift example (and similar Flutter examples) much more suited to describing interfaces.