> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roni Music > Sent: Saturday, June 28, 2008 1:13 PM > To: cocoa-dev@lists.apple.com > Subject: Re: Style Question (Robert Claeson) > > the bottom of the page below has one opinion why one style is superior to > the other, > (at least when it comes to C++ and the way C++ objects behave when going > out > of scope) > > > http://www.relisoft.com/book/lang/scopes/2local.html
Actually, I couldn't agree more with the documentation! As a matter of fact, when I take over someone else's code, the first thing I do is spend the time needed (however much required) to rearrange the position of the braces to conform with the documented style indicated in the above references. Nevertheless, as I have said in previous posts, the only thing I really insist on with religious fervor is that coders include plenty of whitespace in their code. To me that one choice improves readability far, far more than any placement of braces style that one might argue about. And to forestall a firestorm of objections, let me reinforce the "take over" part. If I am merely looking at someone else's code or attempting a change when the other party is sick (in emergency situations, and only when pressed by my supervisor), I do my very best to conform to the style they use. Only when I am taking over complete control of the project do I do this. R, John _______________________________________________ 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 [EMAIL PROTECTED]