• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why can't I name a property `tag'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Why can't I name a property `tag'? (From: an0 <email@hidden>)
 >Re: Why can't I name a property `tag'? (From: Graham Cox <email@hidden>)
 >Re: Why can't I name a property `tag'? (From: an0 <email@hidden>)
 >Re: Why can't I name a property `tag'? (From: "I. Savant" <email@hidden>)
 >Re: Why can't I name a property `tag'? (From: an0 <email@hidden>)
 >Re: Why can't I name a property `tag'? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Why can't I name a property `tag'? (From: an0 <email@hidden>)
 >Re: Why can't I name a property `tag'? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Why can't I name a property `tag'?
  • Next by Date: Printing a Webview
  • Previous by thread: Re: Why can't I name a property `tag'?
  • Next by thread: Re: Why can't I name a property `tag'?
  • Index(es):
    • Date
    • Thread