[swift-evolution] [Pitch] Allow use of the name

Ben Rimmington me at benrimmington.com
Fri Jun 17 16:26:28 CDT 2016


Tony Allevato wrote:

> It never even occurred to me that "case _:" would work as a replacement for
> default, but it does even today—and now that I've seen it, it makes total
> sense. I could definitely get behind a proposal to remove "default" as a
> keyword from the language entirely in favor of that.

Chris Lattner wrote:

> `default` is widely used, `case _` is too magical, and `default` is widely
> precedented in many C family languages.

<https://github.com/apple/swift-evolution/blob/master/commonly_proposed.md>

-- Ben


More information about the swift-evolution mailing list