|
Posted by Steve on 11/09/07 00:18
"__" <Givanz@gmail.com> wrote in message
news:1194565202.597932.55410@e9g2000prf.googlegroups.com...
> What do you think about php coding guidelines ? I know for sure that
> every big php project needs one, all those programmers need common
> rules to code, but do you think that is necessary for just one
> programmer ?
> And if the answer is yes what code guidelines do you recommend ?
> I found the phpbb3 group coding guideliness
> http://area51.phpbb.com/docs/coding-guidelines.html
> and also this
> http://codeassembly.com/Why-are-php-coding-guidelines-important/
> and of course the PEAR coding guideliness
> http://www-eleves-isia.cma.fr/documentation/PhpDoc/pear.standards.html
> I know pear is kind of standard but there are lots of thinks that I
> don't like about it, like putting the bracket on the same line ...
> Waiting for your opinions.
> Thanks.
yes, it's important. if you do start to work with others in collaboration,
you'll be happy you've already been doing what is best. further, if you go
to an employer who wants to see some of your work, they'll certainly like to
know that you are already on board in that sense.
as for which one? be familiar with them all. pick one that makes sense for
you. it's your choice for now.
[Back to original message]
|