[swift-evolution] ternary operator ?: suggestion

Paul Ossenbruggen possen at gmail.com
Fri Dec 18 16:04:03 CST 2015


All,

I think, I finally might have the answer to improving ternary, with such a bold statement come some pretty high expectations but I think, I might actually have done it this time :-)

I am calling it the Demux Expression, it builds on the benefits of ternary and switch while improving on those. 

https://github.com/possen/swift-evolution/blob/master/proposals/0024.md

This is a first draft, thanks in advance for feedback!

- Paul


More information about the swift-evolution mailing list