Re: Programming Style: Method Definition with or without a semicolon.
Re: Programming Style: Method Definition with or without a semicolon.
- Subject: Re: Programming Style: Method Definition with or without a semicolon.
- From: Robert Tillyard <email@hidden>
- Date: Fri, 16 Oct 2009 03:32:14 +0100
I keep meaning to file an enhancement request for the space before
()'s, I have to go back and manually change every occurrence and then
add spaces after the commas in the function arguments.
I also prefer
- (void)foo
{
}
over
- (void)foo {
}
Regards, Rob.
On 16 Oct 2009, at 02:30, Roland King wrote:
I'm ploughing it with you, I hate it too and spend 30 seconds every
time I let XCode stub out a function for me moving the brace onto
the correct line,
andputtingspacesbackbetweenparanetheses,bracketsandarguments so I
have a hope in hell of reading the code later.
I came across that trailing ';' thing the other day purely by
accident and couldn't believe my code actually worked.
I think I'll take this over to XCode and ask about it.
_______________________________________________
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