Remix.run Logo
saagarjha 18 hours ago

Task and MainActor are types.

isodev 18 hours ago | parent [-]

So?

dagmx 17 hours ago | parent | next [-]

If you’re including types, you’d hit the many hundreds if not thousands in most languages.

It dilutes any point you were trying to make if you don’t actually delineate between what’s a keyword and a type.

jen20 18 hours ago | parent | prev [-]

So... they aren't keywords.

Swift does indeed have a lot of keywords [1], but neither Task or MainActor are among them.

[1]: https://github.com/swiftlang/swift-syntax/blob/main/CodeGene...

isodev 17 hours ago | parent [-]

I never said they’re keywords. Y’all way too focused on defending Apple at all cost.

saagarjha 9 hours ago | parent [-]

Replying to someone talking about keywords with a list of something that's not keywords, then retreating to "you are an Apple bootlicker" when someone points that out, is not a good look.