[swift-evolution] named parameters

Jordan Rose jordan_rose at apple.com
Fri Jan 22 13:46:00 CST 2016

> On Jan 22, 2016, at 7:49, Rob Mayoff via swift-evolution <swift-evolution at swift.org> wrote:
> On Fri, Jan 22, 2016 at 8:26 AM, Tino Heth via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> Labels are "just" an aid for programmers, but for the program itself, they have not much more meaning than a comment:
> UIView.insertSubview(_:,belowSubview:) and UIView.insertSubview(_:,aboveSubview:) beg to differ. As do UIView.convertPoint(_:,toView:) and UIView.convertPoint(_:,fromView:). Need more examples? Take a look at UITableViewDelegate.

Agreed. I'm quite happy that Swift labels are effectively part of the method name and therefore consistently applied. Long parameter lists are easy to get lost in.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160122/f12a78c0/attachment.html>

More information about the swift-evolution mailing list