Re: Suggestion

From: Date: Tue, 09 Sep 2008 09:29:22 +0000
Subject: Re: Suggestion
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29241@lists.php.net to get a copy of this message
2008/9/7 Gary <phyga@marsdome.com>: > Mohammad Afrashteh wrote: >> >> Hello. I have an idea about Coding Standards. >> >> I think Code1 have more readability than Code2: >> > > Your Code2 is the long-established K&R style, so-called because it's the > style used in Kernighan and Ritchie's The C Programming Language, the > original book on C, published in 1978. It's not likely to go away anytime > soon. > > Coding style is a matter of personal preference, with many people having > very strong feelings. I don't know of any objective analyses, but I find > the best strategy is to learn to be comfortable with whatever formatting > style is used by a given project. They're all readable, just different. > > Gary > > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > My favourite is http://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style. When I code in VB, BEGIN/END are indented just like my braces in JS/PHP/C. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"

« previous php.pear.general (#29241) next »