• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Swift and parameter names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Swift and parameter names
      • From: Roland King <email@hidden>
References: 
 >Swift and parameter names (From: Rick Mann <email@hidden>)
 >Re: Swift and parameter names (From: Greg Parker <email@hidden>)
 >Re: Swift and parameter names (From: Rick Mann <email@hidden>)
 >Re: Swift and parameter names (From: Alex Kac <email@hidden>)
 >Re: Swift and parameter names (From: Rick Mann <email@hidden>)
 >Re: Swift and parameter names (From: Alex Kac <email@hidden>)
 >Re: Swift and parameter names (From: Rick Mann <email@hidden>)
 >Re: Swift and parameter names (From: Marco S Hyman <email@hidden>)
 >Re: Swift and parameter names (From: Rick Mann <email@hidden>)
 >Re: Swift and parameter names (From: Marco S Hyman <email@hidden>)
 >Re: Swift and parameter names (From: Britt Durbrow <email@hidden>)

  • Prev by Date: Re: Overlapping NSViews and mouseDown Events
  • Next by Date: Re: Scripting Bridge Questions
  • Previous by thread: Re: Swift and parameter names
  • Next by thread: Re: Swift and parameter names
  • Index(es):
    • Date
    • Thread