3 ms·
I am worried about its terseness and readability.
by msie 4y ago
I am worried about its terseness and readability.
- keyle 4y agoAlso agree. That's what I meant about the leaky abstraction. The fact that some chainable things are a one way street... e.g. need a specific order... yikes. But considering the DSL is fully statically typed, wow. So it's a bit of give and take on that one.
- msie 4y agoOut of many sources, it was only the Stanford iphone course that demystified the terseness of the Swiftui dsl. The lecturer pointed out all the optional parentheses and optional arguments that could be omitted to make the declarations clean. Up until then i thought i was looking at weird structs. This is one problem i have with swift’s terseness.