• 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: [Newbie Q] Memory Management in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie Q] Memory Management in Cocoa


  • Subject: Re: [Newbie Q] Memory Management in Cocoa
  • From: Kevin Elliott <email@hidden>
  • Date: Tue, 5 Nov 2002 14:53:48 -0800

At 23:35 +0100 on 11/5/02, Ondra Cada wrote:
On Tuesday, November 5, 2002, at 11:25 , Kevin Elliott wrote:

Though, I don't think I've ever seen anyone actually call it...

Well, I keep the (so far as I know, never explicitly stated anywhere) >convention of using alloc/init instead in production code, but for any >quickly-rigged tool it seems to me far more convenient to go

I found it to be one of the more interesting "quirks" of the language as spec'd vs. language as used. I remember the first time I ran across it immediately say "huh, that's handy", and promptly going back to the standard [[object alloc] init] pattern. The only justification I can think of is the visual "parallelism" between [[object alloc] init] and [[object alloc] init: some_args...]. That and the fact that no one else seems to use it.
--
_____________________________________________
Kevin Elliott <mailto:email@hidden> ICQ#23758827
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: [Newbie Q] Memory Management in Cocoa
      • From: Ondra Cada <email@hidden>
References: 
 >Re: [Newbie Q] Memory Management in Cocoa (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: [Newbie Q] Memory Management in Cocoa
  • Next by Date: RE: [Newbie Q] Memory Management in Cocoa
  • Previous by thread: Re: [Newbie Q] Memory Management in Cocoa
  • Next by thread: Re: [Newbie Q] Memory Management in Cocoa
  • Index(es):
    • Date
    • Thread