• 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: Fast Enumeration and temporary objects/autoreleasing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast Enumeration and temporary objects/autoreleasing


  • Subject: Re: Fast Enumeration and temporary objects/autoreleasing
  • From: Graham Cox <email@hidden>
  • Date: Tue, 17 Apr 2012 15:28:16 +1000

On 17/04/2012, at 12:47 PM, Dave Zarzycki wrote:

> On Apr 16, 2012, at 8:10 PM, Graham Cox <email@hidden> wrote:
>
>> Memory management is really quite straightforward, and consists of a few rules that everything follows (the framework invariably does; your code should do).
>
>
> If that were true, then ARC would not have been necessary.


Well, I don't find ARC to be necessary. I tend to assume it was added to counter the argument from developers coming from other languages to iOS that Objective-C is "old fashioned" and requires too much hand-holding on the MM front that they are not likely to be used to.

However, seeing as your email address contains apple.com, I'll accept there could be more to it than that and I bow to your inside knowledge. I would say though, that having been using Objective C productively for over 10 years now, that I still find ARC something I have not needed. So far. I'm kinda hoping that remains true, because it actually seems pretty complicated in order to cover all the arcane use-cases and I'd rather stick to what I know which has the overwhelming advantage of being really, really simple.

--Graham


_______________________________________________

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: Fast Enumeration and temporary objects/autoreleasing
      • From: Charles Srstka <email@hidden>
    • Re: Fast Enumeration and temporary objects/autoreleasing
      • From: Dave Zarzycki <email@hidden>
References: 
 >Fast Enumeration and temporary objects/autoreleasing (From: Patrick Robertson <email@hidden>)
 >Re: Fast Enumeration and temporary objects/autoreleasing (From: Graham Cox <email@hidden>)
 >Re: Fast Enumeration and temporary objects/autoreleasing (From: Dave Zarzycki <email@hidden>)

  • Prev by Date: Re: Xcode warns about missing protocol definition, even though @protocol is used
  • Next by Date: Re: Is there a glue file between Carbon and Cocoa?
  • Previous by thread: Re: Fast Enumeration and temporary objects/autoreleasing
  • Next by thread: Re: Fast Enumeration and temporary objects/autoreleasing
  • Index(es):
    • Date
    • Thread