gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @property coding style


From: Sašo Kiselkov
Subject: Re: @property coding style
Date: Sun, 29 Jan 2012 13:07:12 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]