[swift-evolution] [Proposal draft] Generalized Naming for Any Function
stephen.celis at gmail.com
Mon Dec 28 08:36:59 CST 2015
> On Dec 27, 2015, at 3:32 PM, Joe Groff via swift-evolution <swift-evolution at swift.org> wrote:
> Some more things to consider:
> - Our naming conventions encourage the first parameter to most methods to be unlabeled, so unlabeled parameters come up a lot. I don't think there's a grammatical requirement for an identifier before each colon; maybe we can leave out the underscore and use `foo(:bar:)` instead of `foo(_:bar:)` to refer to unlabeled arguments.
Any reason not to put in a proposal to change this everywhere, e.g., diagnostics?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution