<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Dec 8, 2015, at 4:43 PM, Daniel Steinberg via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<div><blockquote type="cite" class=""><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">For me this comes up when teaching children or new programmers. (Perhaps not a valid use case)</div></div></blockquote><div><br class=""></div><div>This is a very valid use case.</div><div><br class=""></div><div>FWIW, “repeat N {}” was originally designed and scoped into the Swift 2 implementation of the feature, but was cut due to schedule limitations. There is precedent for this sort of feature in many teaching oriented languages (e.g. Logo).</div><div><br class=""></div><div>I’d say that the pro’s and con’s of this are:</div><div><br class=""></div><div>+ Makes a simple case very simple, particularly important in teaching.</div><div>+ Even if you aren’t familiar with it, you can tell at first glance what the behavior is.</div><div>- It is “just syntactic sugar”, which makes the language more complex.</div><div>- It is a very narrow feature that is useful in few practical situations.</div><div><br class=""></div><div>-Chris</div></div></body></html>