[swift-evolution] ternary operator ?: suggestion
charles at charlesism.com
Sat Jan 9 19:44:12 CST 2016
Paul, my preference is for the shorter ones - whether yours, mine, others.
I don't think that verbosity (even using "case") is better suited to this
Verbosity only makes sense when the payoff is more clarity. But what the
proposal we're all discussing is for, is to simplify a choice between cases
in a list - possibly *dozens* of cases.
If it made sense to be verbose here, then why not also be verbose when
creating Dicts or Arrays?
Hope this makes sense.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution