Swift Regret: Subscript Trailing Closures

Part of the Swift Regrets series.

Swift Regret: Subscript Argument Label Rules

Part of the Swift Regrets series.

Swift Regrets

For the past few weeks I’ve been writing Twitter threads on “Swift regrets”, things I wish we’d done differently early on in Swift’s development. I’ve been doing them on Twitter rather than as blog posts because of my RSI—short-form on my phone is easier than long-form at a keyboard when I spend so much time on a keyboard for work. But I’m mirroring them here, lightly edited, so they don’t get lost in the eternal history of Twitter. You can find them under the Swift regrets tag.