Re: Swift and parameter names
Re: Swift and parameter names
- Subject: Re: Swift and parameter names
- From: Rick Mann <email@hidden>
- Date: Wed, 24 Jun 2015 16:44:04 -0700
> On Jun 24, 2015, at 15:43 , Alex Kac <email@hidden> wrote:
>
> As I wrote above, where you are assigning a type at that moment - no. Its quite obvious. You're doing it right there where its obvious. Frankly, I don't see the two things as being the two sides of the same coin. In one case the type is seen pretty obviously because you're assigning it. In the other you're passing arguments and its not obvious in most cases.
You're not assigning a type at the moment. It's no more obvious than passing a variable as an argument.
var someNewVar = someOldVar
How is that any more obvious than what's going on at a call site?
--
Rick Mann
email@hidden
_______________________________________________
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