Re: Proper retain/release etiquette
Re: Proper retain/release etiquette
- Subject: Re: Proper retain/release etiquette
- From: Daryn <email@hidden>
- Date: Wed, 24 Jul 2002 23:03:23 -0500
On Tuesday, July 23, 2002, at 08:59 AM, Gregory Weston wrote:
Roarke Lynch <email@hidden> wrote
On Monday, July 22, 2002, at 09:05 PM, Chris Anderson wrote:
9. One should not attempt to re-use objects by re-initing them.
no.
Your response is ambiguous, but the OP is correct.
I can understand how re-initing an object, in general, would be a
terrible practice. What about in controlled situations where the scope
of the reinited variable is limited? For example, might a loop benefit
from reiniting a string object repeatedly to save on object
creation/destruction overhead?
So is it a frowned upon practice, or are there technical issues?
Daryn
_______________________________________________
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.