Charles, Guidelines are being applied to the Standard Library as part of Swift 3 effort. You can track progress in `swift-3-api-guidelines` branch. Addressing your example: non-mutating `sort()` has become `sorted()` here <https://github.com/apple/swift/blob/swift-3-api-guidelines/stdlib/public/core/CollectionAlgorithms.swift.gyb#L213>. max
> On Dec 28, 2015, at 5:33 PM, Charles Srstka via swift-evolution > <[email protected]> wrote: > >> On Dec 28, 2015, at 6:19 PM, Michel Fortin via swift-evolution >> <[email protected] <mailto:[email protected]>> 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 > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
