<div dir="ltr"><div>I could have easily screwed up my grep but doing spot checks on the resulting data sets I didn't spot an issue. I did make assumptions about how well formed the data set was.</div><div><br></div><div><span><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:554]> grep -R "func [A-Za-z0-9]*([A-Za-z0-9]* [A-Za-z0-9]*:" Platforms/ | wc -l</div><div> 10587</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:555]> grep -R "func [A-Za-z0-9]*(_ [A-Za-z0-9]*:" Platforms/ | wc -l</div><div> 21654</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:556]> grep -R "func [A-Za-z0-9]*([A-Za-z0-9]* _:" Platforms/ | wc -l</div><div> 0</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:557]> grep -R "func [A-Za-z0-9]*([A-Za-z0-9]*:" Platforms/ | wc -l</div><div> 14</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:558]> grep -R "func [A-Za-z0-9]*()" Platforms/ | wc -l</div><div> 7190</div><div><br></div></span></div><div>----</div><div><br></div><div><span><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:559]> grep -R "func [A-Za-z0-9]*([A-Za-z0-9]* [A-Za-z0-9]*:" SampleCode/ | wc -l</div><div> 12</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:560]> grep -R "func [A-Za-z0-9]*(_ [A-Za-z0-9]*:" SampleCode/ | wc -l</div><div> 0</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:561]> grep -R "func [A-Za-z0-9]*([A-Za-z0-9]* _:" SampleCode/ | wc -l</div><div> 0</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:562]> grep -R "func [A-Za-z0-9]*([A-Za-z0-9]*:" SampleCode/ | wc -l</div><div> 512</div><div><br></div><div>[shawnce:~/Downloads/swift-3-api-guidelines-review-swift-3]</div><div>[0:563]> grep -R "func [A-Za-z0-9]*()" SampleCode/ | wc -l</div><div> 221</div></span><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Mar 14, 2016 at 3:28 PM Dave Abrahams via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
on Sun Mar 13 2016, Shawn Erickson <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br>
<br>
> On Fri, Mar 11, 2016 at 1:30 PM Dave Abrahams via swift-evolution <<br>
> <a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br>
><br>
>><br>
>> Anyone who wants to measure is free to do so: simple regexps and wc<br>
>> generally work for this purpose.<br>
>><br>
>><br>
>> <a href="https://github.com/apple/swift-3-api-guidelines-review/tree/swift-3/Platforms" rel="noreferrer" target="_blank">https://github.com/apple/swift-3-api-guidelines-review/tree/swift-3/Platforms</a><br>
>><br>
><br>
> Not sure if anyone actually got around to this so doing a basic set of<br>
> regex (includes class functions and overrides)...<br>
><br>
> func foo(bar baz:Baz... ---> 10544<br>
> func foo(baz:Baz... ---> 526<br>
> func foo(_:Baz... ---> 92<br>
> func foo() ---> 7392<br>
<br>
Are you certain? Last we checked it was about 50/50 between having and<br>
not-having a distinct argument label.<br>
<br>
--<br>
-Dave<br>
<br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</blockquote></div>