[swift-evolution] [Pitch] Make the first parameter in a function declaration follow the same rules as the others
Dave Abrahams
dabrahams at apple.com
Mon Mar 14 17:26:56 CDT 2016
on Sun Mar 13 2016, Shawn Erickson <swift-evolution at swift.org> wrote:
> On Fri, Mar 11, 2016 at 1:30 PM Dave Abrahams via swift-evolution <
> swift-evolution at swift.org> wrote:
>
>>
>> Anyone who wants to measure is free to do so: simple regexps and wc
>> generally work for this purpose.
>>
>>
>> https://github.com/apple/swift-3-api-guidelines-review/tree/swift-3/Platforms
>>
>
> Not sure if anyone actually got around to this so doing a basic set of
> regex (includes class functions and overrides)...
>
> func foo(bar baz:Baz... ---> 10544
> func foo(baz:Baz... ---> 526
> func foo(_:Baz... ---> 92
> func foo() ---> 7392
Are you certain? Last we checked it was about 50/50 between having and
not-having a distinct argument label.
--
-Dave
More information about the swift-evolution
mailing list