<div dir="ltr"><div>I think I still prefer the original proposal to add a second syntax for &quot;switch&quot; because it requires no learning curve at all. Even if I spent a year without coding a single line of Swift, I&#39;m sure when I came back to it I&#39;d remember the syntax for a &quot;switch&quot; assignment.</div><div><br></div><div>Having said that, I&#39;d prefer sticking with a &quot;?&quot; since it&#39;s reminiscent of a ternary, and regardless of parsing issues, it&#39;s easier to read if the options are a tuple. So my second choice would be this variant of Paul&#39;s suggestion:</div><div><br></div><div>    let a = sel ? (.Red: 1, .Green: 2, .Blue: 3)</div><div><br></div><div><br></div></div>