[swift-evolution] [Review] SE-0065 A New Model for Collections and Indices
dabrahams at apple.com
Tue Apr 12 19:48:10 CDT 2016
on Tue Apr 12 2016, Brent Royal-Gordon <brent-AT-architechies.com> wrote:
>>> 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
seems to work just fine.
More information about the swift-evolution