> On Jun 24, 2015, at 2:09 PM, Rick Mann <rm...@latencyzero.com> wrote:
> 
> But I don't understand the need to require the use of external names at the 
> call site. If there's enough information available to the compiler at the 
> call site to unambiguously choose a function or method to call, why must I 
> supply the parameter names?

There isn’t always enough information, when there are optional parameters. 
Without keywords it can be ambiguous which parameters have been omitted.

Also, can’t functions be overloaded by using different parameter names, the way 
methods can?

—Jens

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to