[swift-evolution] [Guidelines, First Argument Labels]: Prepositions inside the parens

Dave Abrahams dabrahams at apple.com
Tue Feb 9 21:24:12 CST 2016



Sent from my moss-covered three-handled family gradunza

On Feb 9, 2016, at 5:39 PM, Brent Royal-Gordon <brent at architechies.com> wrote:

>>    a. The label normally starts with the preposition. 
>>       For example, 
>>       ```
>>       x.move(from: a, to: b)
>>       x.loadValues(forKeys: ["fox", "box", "lox"])
>>       ```
> 
> Would this mean we're returning to `stride(to:by:)` and `stride(through:by:)`? If so, I for one welcome our new argument label overlords.

Yup!


More information about the swift-evolution mailing list