Re: Suggestion

From: Date: Sun, 07 Sep 2008 13:56:38 +0000
Subject: Re: Suggestion
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29237@lists.php.net to get a copy of this message
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

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