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

Sean Heber sean at fifthace.com
Mon Jun 13 10:40:48 CDT 2016


> On Jun 13, 2016, at 10:26 AM, Erica Sadun via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>> On Jun 13, 2016, at 9:23 AM, let var go via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> I am 100% with Charlie on this. Expressiveness has to do with the *effectiveness* of conveying a thought or a feeling.
>> 
>> Keep "where". It is expressive. It conveys a specific idea effectively and concisely.
> 
> For those of you in favor of retaining `where`, how do you feel about adding `while`, `until`, `unless`, etc?
> 
> -- E

I think that “while” could be potentially useful, but since it hasn’t existed, I haven’t really considered what code might look like if that was possible. :P

l8r
Sean



More information about the swift-evolution mailing list