+1<br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 27, 2016 at 8:39 PM Joseph Essin via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">As a budding iOS developer, I thought it might be nice if Swift were to further improve on C's <i>switch</i> statement by using curly brackets to denote a block instead of a colon. It seems like this would be more consistent with the language at large and make indention more intuitive.<div><br></div><div>Here's a quick example of what it might be.</div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">switch </span><i style="font-size:12.8px">value</i><span style="font-size:12.8px"> </span><span style="font-size:12.8px">{</span><br></div><div><div style="font-size:12.8px"> case <i>expression</i> {</div><div style="font-size:12.8px"> }</div><div style="font-size:12.8px">}</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I apologize if this message isn't in the right format--I've not used a mailing list before.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Joseph Essin</div></div>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div>