Re: Code should be selv-maintaining!

From: Date: Tue, 30 Aug 2011 14:04:54 +0000
Subject: Re: Code should be selv-maintaining!
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-314654@lists.php.net to get a copy of this message
On Aug 29, 2011, at 4:32 PM, George Langley wrote: > "The One True Brace Style": > > <http://en.wikipedia.org/wiki/Indent_style> > > Didn't know there was a name for the way I learned to indent! Make sense to me - looks so > much cleaner and less scrolling/printing. > And, I already add a comment to confirm the end brace: > > } // end if($myVar) > > to clarify any long nests. > > George To all: I prefer the Whitesmiths style: http://rebel.lcc.edu/sperlt/citw229/brace-styles.php But "style" is really up to the individual -- what works best for you is the "best" (unless it's a team effort or the clients demand). Cheers, tedd --- tedd@sperling.com http://sperling.com

« previous php.general (#314654) next »