<div dir="ltr">+1. Would definitely like to see this change make it in.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 10:58 AM, Joe Groff via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Our accepted naming guidelines have embraced first argument labels for functions and methods. This weakens our justification for making the first parameter declaration in a `func` declaration behave differently from the others, implicitly being unlabeled. It seems pretty clear to me we should make all of the parameter declarations behave uniformly:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>func foo(x: Int, y: Int) // Should declare foo(x:y:), instead of foo(_:y:)</div><div>func foo(_ x: Int, y: Int) // Explicitly declares foo(_:y:)</div><div><br></div></blockquote>This would also make `init` and `func` parameters behave consistently, which is nice. There may still be hope for our keyword argument rules to one day be shorter than the Smalltalk spec…<br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><br></div></blockquote><span class="HOEnZb"><font color="#888888">-Joe</font></span></div><br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">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>
<br></blockquote></div><br></div>