Dec 1, 2022
Thanks for this post. Declarative coding is the future — it has to be.
SwiftUI and its result builder DSLs is just one form of declarative coding in Swift. You mentioned the reactive variant yourself.
please check out my Khipu architecture, that I call "domain declarative" https://medium.com/better-programming/meet-khipu-a-boilercode-free-implementation-of-clean-architecture-in-swift-f76ccab82ff3
My most recent article focusses on the domain aspect:
https://medium.com/better-programming/the-ultimate-domain-language-declarative-swift-37b0a04e4e32