Re: Why can't I name a property `tag'?
Re: Why can't I name a property `tag'?
- Subject: Re: Why can't I name a property `tag'?
- From: an0 <email@hidden>
- Date: Thu, 10 Jul 2008 23:43:43 +0800
I am with you. We should coldly face the somewhat cold reality.
On Thu, Jul 10, 2008 at 11:26 PM, Graham Cox <email@hidden> wrote:
> At some point you have to realise that it's a compiler, a very dumb finite
> state machine. It can't intelligently recognise every possible nuance of
> your code. I agree it's not good behaviour - in my case it caused a bug that
> corrupted memory that crashed the program in a completely unrelated place,
> and took me 11 hours to find the real cause.
>
> One thing you could do is to unravel that big compound statement somewhat
> and explicitly type some intermediate variables. This not only makes the
> code more readable, but any warnings that the compiler can offer will be
> more obvious. There's no real performance advantage to huge compound
> statements, and they definitely make code harder to read at times.
>
> Graham
>
>
>
> On 11 Jul 2008, at 1:19 am, an0 wrote:
>
>> However, if you don't know what exact type of Cocoa I am, how could
>> you call me BlackCocoa so surely?
>
>
_______________________________________________
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