[swift-evolution] [Review] SE-0065 A New Model for Collections and Indices
Brent Royal-Gordon
brent at architechies.com
Tue Apr 12 19:14:04 CDT 2016
>> Huh, that clarifies something. How about the non-`ing` variants?
>>
>> collection.travel(5, from: i)
>> collection.stride(5, from: i)
>> collection.advance(i, by: 5)
>
> Active verb phrases are reserved for methods with side-effects according
> to the API guidelines.
Is there *any* way of using a verb to indicate an argument is being modified? If not, I think that's a serious omission in the API guidelines.
--
Brent Royal-Gordon
Architechies
More information about the swift-evolution
mailing list