Re: Is "-init" really needed?
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=04042017; t=1502212380; bh=mOSBHxsnZFEdonHfa0IAdh/mAcvuBOmCZ9vBZJOKqQE=; h=From:Content-type:MIME-version:Date:Subject:Message-id:To; b=em6iRLOGVMrRriz5I31CKZhTzjNSaqGlzcCiK26hM+qGOgNJHaphW85h9aR8Fyk4k BpkfK74+1YXKEsO8UfT8AIJuMDgKufSfzaYOBghPy183eAKdHqPmhvgEcuaDcb09jJ qGMZDe5VY0oKYj+3YIrrPUPzGW2Fvte2Ep3+7VltNP9Rf0SxhWiHSS+4RW2FyT55/3 GqS7uOLdPW7Hn8HVVc0DTiikNx/Y22zO3d0lYfw4A0tfpNbau6xOctAXj7yyhbqMoM XlNiaY5B0tzq4LtHJ1koPjynplBUnYSI7ccVsQxdjy02MSYuvW6CBbXlIZjjtS9QO3 okySlq86yC/VA==
On Aug 8, 2017, at 11:45, Alex Zavatone <zav@mac.com> 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 (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/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Mills