Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
- Subject: Re: [OT] Re: [ANN] Cocoa Style for ObjC: 1 and 2
- From: The Amazing Llama <email@hidden>
- Date: Wed, 27 Oct 2004 13:15:14 -0700
On Oct 27, 2004, at 12:49 AM, Steve Checkoway wrote:
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.
So don't do that. Don't declare multiple vars on the same line; it's
harder to read.
I put the * after they type, because what I'm declaring is not an int,
but a pointer to an int. So the type "area" should reflect that.
Seth A. Roby The Amazing Llama < mail or AIM me at tallama at mac dot
com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
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