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

---

t...@sperling.com
http://sperling.com




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to