[swift-evolution] [Guidelines, First Argument Labels]: Prepositions inside the parens

Douglas Gregor dgregor at apple.com
Wed Feb 10 01:40:21 CST 2016


> On Feb 9, 2016, at 4:20 PM, Ben Rimmington via swift-evolution <swift-evolution at swift.org> wrote:
> 
> How will the new API Design Guidelines be applied to the Swift Core Libraries?
> 
> <https://swift.org/core-libraries/>
> 
> If they have to copy APIs from the heuristics-based importer, they're missing the opportunity to *manually* choose the best method names and argument labels.

The core libraries need to match what the heuristics-based importer produces, or we won’t have source portability. If manual intervention is necessary, we have mechanisms to override the names produced by the automatic translation.

> 
> It would also be difficult to improve the heuristics in later versions, because of binary compatibility with the Swift Core Libraries.


Correct.

	- Doug



More information about the swift-evolution mailing list