• 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: array = [NSArray new] or array = [NSArray array]?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: array = [NSArray new] or array = [NSArray array]?


  • Subject: Re: array = [NSArray new] or array = [NSArray array]?
  • From: email@hidden
  • Date: Sat, 20 Aug 2016 04:33:53 +0900



> On Aug 20, 2016, at 2:50 AM, Quincey Morris <email@hidden> wrote:
>
> AFAICT, the main reason *not* to use ‘new’ is to avoid generating anxiety for those who come back to read the code later, and who might worry that the inconsistency means something.

Even though new has been a synonym for alloc] init] for decades. :)
_______________________________________________

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: array = [NSArray new] or array = [NSArray array]?
      • From: Quincey Morris <email@hidden>
References: 
 >array = [NSArray new] or array = [NSArray array]? (From: Alex Zavatone <email@hidden>)
 >Re: array = [NSArray new] or array = [NSArray array]? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: array = [NSArray new] or array = [NSArray array]?
  • Next by Date: Re: odd drawInsertionPointInRect behavior
  • Previous by thread: Re: array = [NSArray new] or array = [NSArray array]?
  • Next by thread: Re: array = [NSArray new] or array = [NSArray array]?
  • Index(es):
    • Date
    • Thread