Re: Code should be selv-maintaining!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 31, 2011 at 08:20:14PM -0400, Tedd Sperling wrote:

> On Aug 30, 2011, at 3:09 PM, Robert Cummings wrote:
> 
> > On 11-08-30 11:36 AM, Richard Quadling wrote:
> >> On 30 August 2011 15:04, Tedd Sperling<tedd.sperling@xxxxxxxxx>
> >> wrote:
> >>> 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
> >> 
> >> At last!!!! Someone's code I could read without having to reformat
> >> it every bloody time!!!
> >> 
> >> http://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style
> > 
> > You're just saying that so Tedd will be your friend!! Come now,
> > let's be honest with everyone... Whitesmith's is UUUUUUUUHHHH-GLEE!
> > ;)
> > 
> > Cheers, Rob.
> 
> No, not indenting braces is BBBBUUUUTTTTT
> UUUUUUUUUUUUGGGGGGGGLLLLLYYYYYY.
> 
> Make things uniform -- a condition followed by indented code located
> between equally indented braces makes sense to me. 
> How people read
> other code styles is a mystery to me.

Indeed it is a mystery, a religious one. The way we do it is because we
finally broke through the clouds of earthly obfuscation to comprehend
the blinding truth that is K&R. Amen.

(Nah, it wasn't Kool-Aid. Tasted more like a cross between RC Cola and
Dr Pepper.) ;-}

Paul


-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux