You might think I’m about to go off on some Swift rant (and trust me there is a Swift rant inside me waiting to emerge) but it’s the second checkbox that made my mind explode.
Who thought this was a good idea? I’ve never been a fan of left-aligned
case in Swift although I embrace it as the standard. But in Objective-Freaking-C? As a standard Apple-blessed toggle in Xcode? No! Thrice no! The option enabling the choice is bad for Swift and worse for Objective-C.
Why is this option in there and why is it available for both languages? It would be best to, as Joe Groff put it, “let sloth naturally lead everyone to pick the default” given that the feature has been expressed in Xcode. Or better yet, file some bug reports for the broken feature.
Each language default reflects years (and decades) of language style consensus:
- Swift: keyword-aligned.
- Objective-C: “scope”-aligned.
This new choice in preferences is madness.
Talk me down from here, friends.