<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 10, 2016 at 1:45 PM, L. Mihalkovic <span dir="ltr">&lt;<a href="mailto:laurent.mihalkovic@gmail.com" target="_blank">laurent.mihalkovic@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I humbly suggest that some people who are afraid of seing it go might want to lookup LINQ (c#) to get a sense of could be done in the future if/when the idea of a WHERE clause gets revisited. With the current clause nothing more could have happened. Sometimes a step back is required in order to move forward again...<br>
Regards<br>
(From mobile)<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>That would be a powerful gain indeed. My understanding based on the core team&#39;s comments was that `where` was introduced in the hopes of supporting some pattern matching that was abandoned. So I can only imagine what could be possible if a LINQ-like feature were to be brought to bear in the future. It&#39;d be amazing.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
On Jun 10, 2016, at 7:51 PM, Brent Royal-Gordon via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br>
<br>
&gt;&gt; The thought here is along the lines of what Chris said, quoted above, and repeated here: &quot;The extended C family of language [...] is an extremely popular and widely used set[;] programmers move around and work in different languages, and [aligning to expectations arising from other C family languages] allows a non-expert in the language to understand what is going on.&quot; By contrast, the `where` clause violates that expectation and I do not see &quot;overwhelmingly large advantages&quot; for doing so.<br>
&gt;<br>
&gt; I think you might be slightly misunderstanding Chris&#39;s point here. In the thread you quoted, somebody suggested fundamentally changing the very structure of the syntax—the way blocks are marked out—to something completely different from C. Chris said that such a huge deviation from the C family would need &quot;overwhelmingly large advantages&quot; before they would accept it.<br>
&gt;<br>
&gt; This is not the same situation. It is true that there&#39;s no similar feature in C—mainly because C&#39;s loose typing allows you to use &amp;&amp; instead—but the `where` clause is a mere augmentation of C practice, not a complete break from it. It does not need to pass nearly so stringent a test.<br>
&gt;<br>
&gt; --<br>
&gt; Brent Royal-Gordon<br>
&gt; Architechies<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; swift-evolution mailing list<br>
&gt; <a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
&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>
</div></div></blockquote></div><br></div></div>