I am with you. We should coldly face the somewhat cold reality. On Thu, Jul 10, 2008 at 11:26 PM, Graham Cox <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]