Re: Debugging retainCount
Re: Debugging retainCount
- Subject: Re: Debugging retainCount
- From: David P Henderson <email@hidden>
- Date: Wed, 16 Jul 2003 17:24:18 -0400
On Wednesday, 16 July 2003, at 6:34AM, Ben Dougall wrote:
>
On Wednesday, July 16, 2003, at 01:32 am, David P Henderson wrote:
>
>
> Seriously, how hard is it to understand "... only send release or
>
> autorelease to an object to which you have explicitly sent one of the
>
> following messages: alloc, copy or retain." In other words, if you
>
> did not allocate, copy or retain the object; then, do not try to
>
> release it. IMHO, most of these problems stem from people over
>
> thinking this whole process or poor design.
>
>
can still confuse though because 'you', and therefore the scope, is
>
ambiguous. you as a programmer of the whole app, or you as in the
>
current object in question, or maybe some other you even. the
>
viewpoint / position that that is coming from is equally as critical
>
as what's being said.
>
You refers to the reader. You always refers to the reader. The
ambiguity exists only because too many people use 'you' where they
should be using the pronoun 'one'.
Dave
--
Chaos Assembly Werks
"The Trend over the last 20 years or so has been to design computer
languages that enforce a state of paranoia. You're expected to program
every module as if it were in a state of siege In Perl culture, by
contrast, you're expected to stay out of someone's home because you
weren't invited in, not because there are bars on the windows."
from Programming Perl
_______________________________________________
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.