"When the operation is naturally described by a verb, use the verb’s imperative for the mutating method and apply the “ed” or “ing” suffix to name its nonmutating counterpart."<br><br>I known it. But, the "verb" here should be a action will change the object. Not every verb will change the object.<br><br>Like the word: peek ,copy.<br><br>In socket program, there's a action "peek", just check if there has new data in socket data buffer, not move out the data(like the API receive()). It's not "receiving".<br><br><br><div class="gmail_quote"><div dir="ltr">Daniel Duan <<a href="mailto:daniel@duan.org">daniel@duan.org</a>>于2016年7月26日 周二11:39写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Please read the naming section in Swift API design guidelines <a href="https://swift.org/documentation/api-design-guidelines/#naming" target="_blank">https://swift.org/documentation/api-design-guidelines/#naming</a></div></div><div dir="auto"><div><br><br><div>Daniel Duan</div>Sent from my iPhone</div></div><div dir="auto"><div><br>On Jul 25, 2016, at 8:29 PM, Boris Wang via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br><br></div><blockquote type="cite"><div><div style="white-space:pre-wrap">I am curious about the reason using "removing",<br>What we are doing is not remove, just selecting some elements from the original collection.</div>
</div></blockquote></div><div dir="auto"><blockquote type="cite"><div><span>_______________________________________________</span></div></blockquote></div><div dir="auto"><blockquote type="cite"><div><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></div></blockquote></div>