logoalt Hacker News

isodevlast Tuesday at 4:39 PM2 repliesview on HN

So?


Replies

dagmxlast Tuesday at 5:22 PM

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.

jen20last Tuesday at 5:07 PM

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...

show 1 reply