<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 13, 2016, at 4:46 PM, Xiaodi Wu &lt;<a href="mailto:xiaodi.wu@gmail.com" class="">xiaodi.wu@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 13, 2016 at 9:28 AM, Sean Heber <span dir="ltr" class="">&lt;<a href="mailto:sean@fifthace.com" target="_blank" class="">sean@fifthace.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’m just (probably obtusely) suggesting that there are different levels and styles of expression and that the existence of one does not render other styles invalid.<br class="">
<br class="">
In relation to the “where” debate, the fact that you can express everything with “guard” or “if” as you can with “where” is not, in my mind, a strong&nbsp; argument against “where” because it ignores other more intangible aspects that are going to be a lot harder to quantify since they depend on the context of the problem, the surrounding code, the mindset of the writer, and the assumed mindset of the reader.<br class="">
<br class="">
I don’t dispute that we *could* live without “where” - that is not the point. We could also live without classes or generics or any of a variety of other features - but why should we when we don’t have to?<br class=""></blockquote><div class=""><br class=""></div><div class="">I'm not sure where this comes in. I was clarifying what I mean when I call a language construct 'expressive.' As I understand the term, `where` is not expressive, whereas classes and generics are expressive.</div></div></div></div></div></blockquote><div><br class=""></div><div>Perhaps this is due to English not being my first language, but I go by the dictionary definition of expressive:</div><div><br class=""></div><div>expressive (adjective) -&nbsp;effectively&nbsp;conveying thought or feeling.</div><div><br class=""></div><div>And I believe that for-in-where is expressing the condition more effectively (and efficiently) than adding if/guard-continue into the actual code block.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class="">&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="">
l8r<br class="">
<span class="HOEnZb"><font color="#888888" class="">Sean<br class="">
</font></span><div class="HOEnZb"><div class="h5"><br class="">
<br class="">
&gt; On Jun 13, 2016, at 9:19 AM, Xiaodi Wu &lt;<a href="mailto:xiaodi.wu@gmail.com" class="">xiaodi.wu@gmail.com</a>&gt; wrote:<br class="">
&gt;<br class="">
&gt; How do you mean? I don't follow.<br class="">
&gt; On Mon, Jun 13, 2016 at 09:11 Sean Heber &lt;<a href="mailto:sean@fifthace.com" class="">sean@fifthace.com</a>&gt; wrote:<br class="">
&gt; &gt; On Jun 13, 2016, at 9:05 AM, Xiaodi Wu via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:<br class="">
&gt; &gt;<br class="">
&gt; &gt; On Mon, Jun 13, 2016 at 8:58 AM, Charlie Monroe &lt;<a href="mailto:charlie@charliemonroe.net" class="">charlie@charliemonroe.net</a>&gt; wrote:<br class="">
&gt; &gt; if-continue. But I gladly took upon for-in-where as soon as I found out about it since it's more expressive and simply is less typing.<br class="">
&gt; &gt;<br class="">
&gt; &gt; I don't think we use the term 'expressive' in the same way. I understand it to mean that permitting the expression of more things. But of course, `where` does only a subset of `guard...continue` or `if...continue`; thus, less expressive.<br class="">
&gt;<br class="">
&gt; The fact that you could simply use the words “I am happy” to express the concept of being happy does not mean that writing a complex poem that also conveys happiness should therefore be prohibited.<br class="">
&gt;<br class="">
&gt; l8r<br class="">
&gt; Sean<br class="">
&gt;<br class="">
<br class="">
</div></div></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></body></html>