Just read about the new @concurrent option coming to Swift 6.2 and lover it, but...
It just me, but I which these options would pick a case and stick with it...
@Sendable @unchecked @MainActor @concurrent @Observable @ObservationIgnored
I [wish] these options would pick a case and stick with it
This isn’t random. Rather:
-
Compiler attributes start with a lower-case letter.
-
Things that start with an upper-case latter are actual types: protocols, property wrappers, global actors, macros, and probably more than I can think of right now.
I remember this convention being discussed on Swift Evolution at one point, but a quick search didn’t turn up the relevant link. Still, that’s an important point: If you want to get involved in how the Swift language develops, you can do that via the Swift Evolution process.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"