Swift closure 'in' keyword is confusing
| Originator: | |||
| Number: | rdar://17642995 | Date Originated: | 2014-07-11 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Beta 3 |
| Classification: | Reproducible: |
The 'in' keyword for closures in Swift doesn't make sense to me (and many others). I think a different keyword should be used for better readability. Could use 'do', since the following code is doing something, or perhaps '<-' to be similar to the '->' used for return values, or even '|' like in some other languages.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!