<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I for one feels like the ternary operator still has a future with Swift.<br class=""><br class="">If the discussion with ternary will go on though, I would like to weigh in a suggestion:<br class=""><br class=""><font face="Courier" class="">&nbsp; &nbsp;&nbsp;let a | x == y = a<br class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | otherwise = b<br class=""><br class="">&nbsp; &nbsp; let b | colour.Red = 0xff0000</font><div class=""><font face="Courier" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | colour.Green = 0x00ff00</font></div><div class=""><font face="Courier" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | colour.Blue = 0x0000ff</font></div><div class=""><font face="Courier" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | otherwise = 0x000000<br class=""></font><br class="">My rule of thumb for a style like this is that if you can read it as if it was English (read&nbsp;| (bar)&nbsp;as "when",&nbsp;| otherwise (bar otherwise)&nbsp;as "otherwise" and&nbsp;=&nbsp;as "is" or "be"), you're probably doing something right.</div></body></html>