• 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: Constructive Criticism
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Constructive Criticism


  • Subject: Re: Constructive Criticism
  • From: BJ Homer <email@hidden>
  • Date: Wed, 7 Oct 2009 11:19:23 -0600

On Wed, Oct 7, 2009 at 10:53 AM, Derek Chesterfield <email@hidden> wrote:

>
>
> On 6 Oct 2009, at 22:48, Alastair Houghton <email@hidden>
> wrote:
>
>  Oh, and since I'm in the dot-syntax-is-evil camp, s/self.year/[self
>> year]/g in Bill's code :-D :-D
>>
>
> Just an aside, but does either syntax got optimised by the compiler (GCC or
> LLVM). Obviously it can't in all cases, but this seems an obvious case where
> it could be replaced by an
> assignment._______________________________________________


If you replace self.something = @"value" with something = @"value",
Key-Value Observing won't work.  So no.

-BJ
_______________________________________________

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

  • Follow-Ups:
    • Re: Constructive Criticism
      • From: Alastair Houghton <email@hidden>
References: 
 >Constructive Criticism (From: Mick Walker <email@hidden>)
 >Re: Constructive Criticism (From: Alastair Houghton <email@hidden>)
 >Re: Constructive Criticism (From: Derek Chesterfield <email@hidden>)

  • Prev by Date: Re: Triggering a Method when a Core Data Property is Altered.
  • Next by Date: Re: Triggering a Method when a Core Data Property is Altered.
  • Previous by thread: Re: Constructive Criticism
  • Next by thread: Re: Constructive Criticism
  • Index(es):
    • Date
    • Thread