Re: Is "-init" really needed?
Re: Is "-init" really needed?
- Subject: Re: Is "-init" really needed?
- From: Steve Mills <email@hidden>
- Date: Tue, 08 Aug 2017 12:12:56 -0500
> On Aug 8, 2017, at 11:45, Alex Zavatone <email@hidden> wrote:
>
> I see it creeping back in to use with some people, but IMO, new bears too
> many references to other languages’ use of new.
>
> It seems too close to how it would be used in other languages and may imply
> things that aren’t the best.
>
> I think it’s a case of, “well in the olden days, new was used for stuff that
> was different. We’ll use another word now.”
>
> This just seems like a case of, “yeah, you can do it, but it’s probably
> better to let it rest and use another approach.”
>
> Thoughts? Agree? Disagree?
I disagree. It's a term that's part of the language, so use it. I know what
language I'm typing in, so I'm not going to confuse [NSThing new] with "new
CPlusPlusClass". Even if I did lose my mind and not understand what I'm typing,
the compiler would point out my mistake.
Steve via iPad
_______________________________________________
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