willowtreeapps / swift-style-guide

The official Swift style guide for WillowTree, Inc.
MIT License
16 stars 3 forks source link

Emphasize use of for-in style loops #7

Closed aenewton closed 8 years ago

aenewton commented 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.

https://github.com/apple/swift-evolution/blob/master/proposals/0007-remove-c-style-for-loops.md

mattyohe commented 8 years ago

Do we want to just kill the current suggestion then?

aenewton commented 8 years ago

That might be best