[swift-evolution] [Review] SE-0105: Removing Where Clauses from For-In Loops
Anton Zhilin
antonyzhilin at gmail.com
Thu Jun 23 14:56:24 CDT 2016
I must note that this `where` does not belong to `case`.
Compare:
for case x? where x < 10 in y { ... }
for x in y where x < 10 { ... }
First syntax is standard and won't go away. Second syntax is for-in
specific, and is considered inconsistent.
* What is your evaluation of the proposal?
+1, because it removes piece of grammar that is unprecedented in other
languages and that few people use.
* Is the problem being addressed significant enough to warrant a
change to Swift?
Yes.
* Does this proposal fit well with the feel and direction of
Swift?
Yes, especially with Swift 3!
* If you have used other languages or libraries with a similar
feature, how do you feel that this proposal compares to those?
N/A
* How much effort did you put into your review? A glance, a
quick reading, or an in-depth study?
Followed the thread.
More information about the swift-evolution
mailing list