[swift-evolution] named parameters - why hidden first?/proposal interest

Charles Constant charles at charlesism.com
Sat Jan 23 02:20:41 CST 2016


> How about making it so that methods with just one argument have no label
on the argument by default, but methods with two or more arguments have
labels on all arguments?

Or have an Xcode "fix it" that offers to insert an "_" on the first
argument. That would have the benefit of letting the user disable that
warning, if they want to name their args on a case by case basis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160123/8a3118b8/attachment.html>


More information about the swift-evolution mailing list