Earlier quoted context omitted.
It does make sense. Because SwiftUI creates special constructs for regular language features (if, foreach) despite those features, you know, being available in the language.
It doesn’t make sense because SwiftUI is a declarative language. I understand the confusion, since it uses Swift’s DSL feature and is tightly integrated with Swift, but it is distinct and has it’s own design that isn’t directly compatible with Swift’s imperative control flow constructs. Now, you can argue that Apple should have created a new imperative Swift-integrated UI framework, and if they had, it would be a goo…
SwiftUI already introduces severely underdesigned awkward structures to replicate existing behavior, and it shouldn't.
SwiftUI's ForEach and If are ugly unnecessary hacks that replicate existing behavior and raise the question: why aren't other constructs there?