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
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to