mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
"With" tends to have value in separating the verb of the base of a method name from the description of the first argument. The poster child here is "copyWithZone", where "copy(_:)" makes it sound like we're copying the argument. We're considering a more nuanced rule that can drop "With" in cases where it's not separating a verb from a description of the argument; that will follow if we do come across such a result. Swift SVN r31627
12 KiB
12 KiB