> On Apr 13, 2017, at 18:18, Xiaodi Wu via swift-evolution > <[email protected]> wrote: > > `compare(_:)` does not merit a term-of-art exception when the Swift name is > clearly `compared(to:)`.
No; in full grammatical pedanticity it should be compared(with:). “compare to” is for dissimilar things. “compare with” is for similar things. (I’m not claiming that anyone cares, and I may have a traditional interpretation.) If the whole thing remains couched in terms of comparison, I prefer the function to be named compare(_:), because it’s such an everyday term. No one expects this action to possibly have a side effect. Cheers, Guillaume Lessard _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
