• 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: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2


  • Subject: Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • From: Steve Checkoway <email@hidden>
  • Date: Wed, 27 Oct 2004 00:49:39 -0700

On Oct 26, 2004, at 8:10 PM, Graham cox wrote:
- (void) foo: (NSWhatever*) bar
{
varname* foobar;

// do stuff
}


There are lots of small style diffs here, many probably just a matter of personal preference, particularly with associativity of the * operator. (I hope they show up as intended on your

One problem with doing the
int* foo;
is it can byte you if you try to do
int* foo, bar;
and expect that you have two pointers to integers. I have seen experienced programmers get bitten by that.

- Steve

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
      • From: The Amazing Llama <email@hidden>
    • Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >[ANN] Cocoa Style for ObjC: 1 and 2 (From: Scott Stevenson <email@hidden>)
 >Re: [ANN] Cocoa Style for ObjC: 1 and 2 (From: Marco Scheurer <email@hidden>)
 >Re: [ANN] Cocoa Style for ObjC: 1 and 2 (From: Scott Stevenson <email@hidden>)
 >Re: [ANN] Cocoa Style for ObjC: 1 and 2 (From: Keith Anderson <email@hidden>)
 >[OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2 (From: Graham cox <email@hidden>)

  • Prev by Date: Re: detecting an active Internet connection
  • Next by Date: Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Previous by thread: Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Next by thread: Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
  • Index(es):
    • Date
    • Thread