Re: ARC vs Manual Reference Counting
Re: ARC vs Manual Reference Counting
- Subject: Re: ARC vs Manual Reference Counting
- From: Graham Cox <email@hidden>
- Date: Mon, 09 Sep 2013 11:04:19 +0200
On 09/09/2013, at 10:49 AM, Marcel Weiher <email@hidden> wrote:
> I thought I would LOVE it, and when I actually used it was “meh”. Not just the additional rules/complexity when dealing with the C side of things (which I do quite a bit), but more importantly it just didn’t make any difference on the upside, for me. Which surprised me greatly.
Likewise, but whatever the technical pros and cons of ARC, you're all discussing this as seasoned Cocoa devs who are familiar with the manual equivalent.
I don't think that's the main reason for ARC (or garbage collection before it). It's really because most other modern OO languages don't require any form of manual memory management, and developers new to Cocoa (and after iOS, they came in their droves) were not expecting to have to deal with it. Manual MM looks old-fashioned to those developers and its unfamiliarity led to many mistakes. Something had to be done. GC and ARC modernise the language, but the devil is in the details.
For seasoned Cocoa devs, the change is probably relatively moot, but for those coming from other languages, it's a must.
--Graham
P.S. personally, I still tend to go with MM because the vast majority of the code I work with long predates either GC or ARC.
_______________________________________________
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