[swift-evolution] ternary operator ?: suggestion

Charles Constant charles at charlesism.com
Fri Dec 18 17:46:45 CST 2015


+1

I'd be very happy with your new proposal too. I still prefer sticking the
value we're using as a key outside of the parens, but it's a minor quibble.
Also I can't figure out if parens or curly braces are more appropriate.
Does it make more sense for the expression to look like a tuple or a
closure? I'm not sure.

Anyhow, I'm good with your new proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151218/d88abd79/attachment.html>


More information about the swift-evolution mailing list