Re: Swift and parameter names
Re: Swift and parameter names
- Subject: Re: Swift and parameter names
- From: email@hidden
- Date: Thu, 25 Jun 2015 17:50:58 +0900
> On 2015/06/25, at 15:49, Britt Durbrow <email@hidden> wrote:
>
> IMHO, named parameters at call sites are one of the things that makes Objective-C great; and I am VERY happy that Swift-2 enforces this.
I agree whole heartedly.
But will call out that it is a considered and thoughtful design by Cocoa and Foundation Framework engineers. Objective-C doesn't require it.
Look at the old Next manual... There were a few obtuse methods.
The IDE takes the burden of typing away.
The conventions established help promote good coding practices that enable clarity and reduce mistakes and confusion.
The (general) consistency and effort towards consistency those folks work towards is for everyone who codes to do it better.
For themselves to more easily support developers consuming the APIs and end customers to have better quality products.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden