[swift-evolution] Proposal: Remove the underscore and `in`for `for` loop

Anton Zhilin antonyzhilin at gmail.com
Sat Jul 2 08:19:04 CDT 2016


Diego Barros via swift-evolution <swift-evolution at ...> writes:

> for 1...10 {
> // do something 10 times
> }

Firstly, this should be delayed to post-Swift 3.
Secondly, I tend to vote for generalization and simplification of Swift 
syntax. For example, I voted to replace 'default' with 'case _'. In this 
case, I also prefer more general syntax. -1 from me.



More information about the swift-evolution mailing list