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: Nick Zitzmann <email@hidden>
- Date: Thu, 15 Oct 2009 19:02:37 -0600
On Oct 15, 2009, at 6:54 PM, Frederick C. Lee wrote:
Is there any benefit of (1) over (2) or is it merely style of
programming?
IMHO (1) should not be allowed, because you can't write C functions
that way (the compiler throws a parsing error if you do that), so it's
odd that you can write ObjC methods that way...
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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