On 01/29/2012 12:56 PM, David Chisnall wrote:
> On 29 Jan 2012, at 07:51, Richard Frith-Macdonald wrote:
> 
>> But I do still recommend ASSIGN, ASSIGNCOPY, and to a lesser extent, 
>> DESTROY. As these make it easier to reliably/safely manage reference 
>> counting.
> 
> I forgot about those - I don't think of them as GNUstep extensions, since I 
> have implementations of them in another header so that I can use them on OS X 
> too - and I totally agree with Richard.  Using these makes life a lot easier, 
> and avoids a lot of simple errors.  

Agreed, I'd be totally lost without those in my code. It has become such
a strong habit, that using '=' to assign object pointers gives me a
rather unpleasant feeling in my stomach.

--
Saso

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to