On Jun 2, 2011, at 1:17 AM, Conrad Shultz wrote: > Google's Objective-C style guide > (http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml) > directs that spaces in method declarations be minimized. For example:
There’s a lot of Google’s code style that I hate, and I wouldn’t hold it up as something everyone should follow. (The 80-character line length and 2-space indents are particularly infuriating.) Personally, I find it more readable to have spaces after the “:”s in message expressions. IMHO it’s not worth trying to standardize where people put spaces in their lines. Everyone has a different opinion and it just leads to religious wars. But naming conventions are important. Lowercase method names are pretty universally used. I’m also strongly in favor of distinguishing instance variable names with a leading or trailing underscore, because it eliminates a lot of confusing ambiguities when reading code. —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com