<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-family: Arial, sans-serif; font-size: 15px; line-height: 22.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">Charles,</div><div style="font-family: Arial, sans-serif; font-size: 15px; line-height: 22.5px; widows: 1; background-color: rgb(255, 255, 255);" class=""> </div><div style="font-family: Arial, sans-serif; font-size: 15px; line-height: 22.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">Guidelines are being applied to the Standard Library as part of Swift 3 effort. You can track progress in `swift-3-api-guidelines` branch.</div><div style="font-family: Arial, sans-serif; font-size: 15px; line-height: 22.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">Addressing your example: non-mutating `sort()` has become `sorted()` <a href="https://github.com/apple/swift/blob/swift-3-api-guidelines/stdlib/public/core/CollectionAlgorithms.swift.gyb#L213" class="">here</a>.</div><div style="font-family: Arial, sans-serif; font-size: 15px; line-height: 22.5px; widows: 1; background-color: rgb(255, 255, 255);" class=""> </div><div style="font-family: Arial, sans-serif; font-size: 15px; line-height: 22.5px; widows: 1; background-color: rgb(255, 255, 255);" class="">max</div><div style="font-family: Arial, sans-serif; font-size: 15px; line-height: 22.5px; widows: 1; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Dec 28, 2015, at 5:33 PM, Charles Srstka via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><blockquote type="cite" class="">On Dec 28, 2015, at 6:19 PM, Michel Fortin via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""></blockquote><div class=""><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">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)."</span></div></blockquote></div><br class=""><div class="">That’s really ironic, given that sort() on Array in the standard library is the non-mutating version (the mutating version is called sortInPlace).</div><div class=""><br class=""></div><div class="">Charles</div><div class=""><br class=""></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=ZdiBPeKLcE1ZkxjSogRct0bur3WJrrZggvfZYd5wkdKK9WeZ-2FFVFLZ5XxLVXeML-2Fzvd-2FLdMsxlw6VzfQgKwppuVqlXGssjN6P-2FvJw6iPLpkA0-2FSGNyUG2kWj2WrXUj1981lUXC6y7cGOdUmYiCPo-2BauvtetOwq1caRPqcLwUg4XgJq6nz282ysIkho2SvZO90J3a2nwvhIBlycroXcsb-2Fe4psO26UFXSY-2B1F9rcAMuI-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
</div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>