3 ms·
> Function builders are a really awkward unnecessary feature that was implemented so that SwiftUI could have a decent looking DSL. Ugh. I agree. I haven't actu
by ragnese 6y ago
> Function builders are a really awkward unnecessary feature that was implemented so that SwiftUI could have a decent looking DSL.
Ugh. I agree. I haven't actually used SwiftUI in anger yet, so I try to reserve my judgement, but the whole thing seems like a lot of magic and complexity to me (not to mention reports of some performance issues/gotchas).
Didn't they also add some weird dynamic JavaScripty property getters or something?
- blacktriangle 6y agoYep, property wrappers: https://nshipster.com/propertywrapper/ https://nshipster.com/propertywrapper/