Coding Standards?
| From: | Sean Coates | Date: | Mon, 06 Sep 2004 15:59:04 +0000 |
| Subject: | Coding Standards? | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-246@lists.php.net to get a copy of this message | ||
Hello DocWeb people.
Pardon my ignorance, as I've just recently joined the docweb project,
but have been lurking on the list since the beginning.
I don't recall, and a quick search of the list archives turned up
nothing. Do we have a set of coding standards (coding style guidelines)
in place?
My opinion on coding standards is always: I don't care what they are, as
long as everyone is on the same page.
If we do not have guidelines in place, may I suggest the PEAR Coding
Standards (http://pear.php.net/manual/en/standards.php)? They are
already written, which is a big plus, and we use them for phpdoc example
code (generally), so they are (again, generally) known to developers.
All new code should follow, but we don't necessarily need to "fix" the
third-party utils, IMHO (JPGraph).
Opinions?
S