<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">+2 from me! One for curly braces and one for proper indentation.</div><div class=""><br class=""></div><div class="">R+</div><br class=""><div><blockquote type="cite" class=""><div class="">On 28 Jan 2016, at 02:35, Joseph Essin via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">As a budding iOS developer, I thought it might be nice if Swift were to further improve on C's <i class="">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 class=""><br class=""></div><div class="">Here's a quick example of what it might be.</div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">switch </span><i style="font-size:12.8px" class="">value</i><span style="font-size:12.8px" class=""> </span><span style="font-size:12.8px" class="">{</span><br class=""></div><div class=""><div style="font-size:12.8px" class=""> case <i class="">expression</i> {</div><div style="font-size:12.8px" class=""> }</div><div style="font-size:12.8px" class="">}</div></div><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class="">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" class=""><br class=""></div><div style="font-size:12.8px" class="">Joseph Essin</div></div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>