<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 <<a href="mailto:xiaodi.wu@gmail.com" class="">xiaodi.wu@gmail.com</a>> 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=""><<a href="mailto:sean@fifthace.com" target="_blank" class="">sean@fifthace.com</a>></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 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) - effectively 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=""> </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="">
> On Jun 13, 2016, at 9:19 AM, Xiaodi Wu <<a href="mailto:xiaodi.wu@gmail.com" class="">xiaodi.wu@gmail.com</a>> wrote:<br class="">
><br class="">
> How do you mean? I don't follow.<br class="">
> On Mon, Jun 13, 2016 at 09:11 Sean Heber <<a href="mailto:sean@fifthace.com" class="">sean@fifthace.com</a>> wrote:<br class="">
> > On Jun 13, 2016, at 9:05 AM, Xiaodi Wu via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class="">
> ><br class="">
> > On Mon, Jun 13, 2016 at 8:58 AM, Charlie Monroe <<a href="mailto:charlie@charliemonroe.net" class="">charlie@charliemonroe.net</a>> wrote:<br class="">
> > 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="">
> ><br class="">
> > 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="">
><br class="">
> 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="">
><br class="">
> l8r<br class="">
> Sean<br class="">
><br class="">
<br class="">
</div></div></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></body></html>