Re: Fast Enumeration and temporary objects/autoreleasing
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