[swift-evolution] [Pitch] Retiring `where` from for-in loops

Xiaodi Wu xiaodi.wu at gmail.com
Mon Jun 13 09:19:42 CDT 2016


How do you mean? I don't follow.
On Mon, Jun 13, 2016 at 09:11 Sean Heber <sean at fifthace.com> wrote:

> > On Jun 13, 2016, at 9:05 AM, Xiaodi Wu via swift-evolution <
> swift-evolution at swift.org> wrote:
> >
> > On Mon, Jun 13, 2016 at 8:58 AM, Charlie Monroe <
> charlie at charliemonroe.net> wrote:
> > 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.
> >
> > 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.
>
> 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.
>
> l8r
> Sean
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160613/bac763f4/attachment.html>


More information about the swift-evolution mailing list