[swift-evolution] About "default" keyword in switch statement

星野恵瑠 el.hoshino at me.com
Mon Dec 5 21:48:09 CST 2016

Many languages have a switch statement and most (maybe all?) of them use "default" keyword for the condition which doesn't match any of those listed in the switch statement.

But sometimes that condition is just an exception, which literally IS NOT a default condition.

So how about using other keywords like "else" instead of "default"?

More information about the swift-evolution mailing list