[swift-evolution] ternary operator ?: suggestion

Andrey Tarantsov andrey at tarantsov.com
Fri Dec 11 19:58:09 CST 2015


I actually agree; I like 'then' in CoffeeScript which is used for the same purpose there.

But:

1) this is a bigger change than just a ternary operator

2) if we add "then", I believe that both forms should be acceptable for both kinds of IF statements

A.



More information about the swift-evolution mailing list