> On Dec 28, 2015, at 6:19 PM, Michel Fortin via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> Really? The convention says: "When a mutating method is described by a verb, 
> name its non-mutating counterpart according to the “ed/ing” rule, e.g. the 
> non-mutating versions of x.sort() and x.append(y) are x.sorted() and 
> x.appending(y)."

That’s really ironic, given that sort() on Array in the standard library is the 
non-mutating version (the mutating version is called sortInPlace).

Charles

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to