<div dir="ltr">I&#39;m also against any kind of markers to annotate the end of a block.<div><br><div>If the code inside a if/guard/loop/do/func/var/… block is so long that the developer thinks about annotating the closing curly brace then they should instead break it down into smaller pieces. Move parts into separate functions and replace it with calls to these functions.</div><div>This makes the block shorter, much easier to understand and the function names will aid as additional documentation.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 12, 2015 at 2:19 PM, Amir Michail via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
&gt; On Dec 12, 2015, at 7:54 AM, Andrew Brown &lt;<a href="mailto:a.br@me.com">a.br@me.com</a>&gt; wrote:<br>
&gt;<br>
&gt; +1<br>
&gt;<br>
&gt; Anything that supports developers is worth it.<br>
&gt; Can&#39;t say I like the syntax but I&#39;ll take whatever is agreed.<br>
<br>
</span>What about this syntax?<br>
<br>
for … {<br>
  if … {<br>
    …<br>
  } /if<br>
} /for<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt;<br>
&gt; ABR.<br>
&gt;<br>
&gt;&gt; On 8 Dec 2015, at 14:43, Amir Michail via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Dec 8, 2015, at 8:42 AM, Amir Michail via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Unlike something like “} // if”, the compiler would actually check &quot;} endif” and report an error if “}” doesn’t close the expected construct.<br>
&gt;&gt;<br>
&gt;&gt; Or perhaps more elegantly (again, it’s optional):<br>
&gt;&gt;<br>
&gt;&gt; if ... {<br>
&gt;&gt;  …<br>
&gt;&gt; if }<br>
&gt;&gt;<br>
&gt;&gt; for ... {<br>
&gt;&gt;  …<br>
&gt;&gt; for }<br>
&gt;&gt; etc.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; swift-evolution mailing list<br>
&gt;&gt;&gt; <a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
&gt;&gt;&gt; <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; swift-evolution mailing list<br>
&gt;&gt; <a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
&gt;&gt; <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">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>
</div></div></blockquote></div><br></div>