Re: Coding Standards?
| From: | Vincent Gevers | Date: | Mon, 06 Sep 2004 17:51:52 +0000 |
| Subject: | Re: Coding Standards? | ||
| References: | 1 2 | Groups: | php.doc.web |
| Request: | Send a blank email to doc-web+get-248@lists.php.net to get a copy of this message | ||
On Monday 06 September 2004 18:03, Gabor Hojtsy wrote:
> > 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).
Indeed.
It would be nice if we also help each other when there is some CS issue.
AFAIK that is the best way to learn..
people annoy you everytime you do something wrong, at the end you read the
standards and 'never' do something wrong again :)
people don't really want to complain about small things, but I think that
would be good
just my Little 2 euro cents
> >
> > Opinions?
>
> I think you are absolutely right here, in every detail :)
yep, agreed.
and thank you for posting about such an important detail for the new docweb
site :)
Vincent
[Mom's b-day party now.. let's see if I can get drunk :)]
>
> Goba
>