Re: dev style guide
| From: | Curt Zirzow | Date: | Tue, 05 Aug 2003 19:46:23 +0000 |
| Subject: | Re: dev style guide | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158342@lists.php.net to get a copy of this message | ||
* Thus wrote jsWalter (jsWalter@torres.ws):
> Is there a style guide for coding practices used when creating code to be
> shared with the community?
The rule is to code they way the community has been coding.
if the indent like such:
if ($var)
{
//blah
}
Dont change it to no matter how much it breaks your religion.
if ($var) {
}
now of course, they should have some rules defined with some
coding standards documentation.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."