Closed aenewton closed 8 years ago
The guide currently recommends to use for-in style loops as opposed to for-conditional-increment. It may be beneficial to note that the latter style will be disallowed in Swift 3, and will therefore become a requirement and not a suggestion.
for-in
for-conditional-increment
https://github.com/apple/swift-evolution/blob/master/proposals/0007-remove-c-style-for-loops.md
Do we want to just kill the current suggestion then?
That might be best
The guide currently recommends to use
for-in
style loops as opposed tofor-conditional-increment
. It may be beneficial to note that the latter style will be disallowed in Swift 3, and will therefore become a requirement and not a suggestion.https://github.com/apple/swift-evolution/blob/master/proposals/0007-remove-c-style-for-loops.md