Re: [CS] Naming Conventions (PHP5 OO)
| From: | Bertrand Mansion | Date: | Wed, 16 Jun 2004 15:40:16 +0000 |
| Subject: | Re: [CS] Naming Conventions (PHP5 OO) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30789@lists.php.net to get a copy of this message | ||
Cipriano Groenendal wrote:
>> >At some point you have to decide whether you want to be a PEAR developer
>> >or not. Code not complying with CS will not be allowed in PEAR. Sorry
>> >about that. And as you can see, it's now been put to vote.
>> But for now, I won't use this rule even if it goes into CS. Anyway, there
>is a
>> lot of code in PEAR that is not CS compliant, so it does not really matter
>I
>> guess.
>
>And with an attitude like this, it never will be. The standards were set up
>for a reason, and that reason was not to to keep the pear developers off the
>street and busy fixing their code, but to keep the code in PEAR nice and
>uniform, following a single, good, CS.
>
>"He didn't do it either" is not an excuse not to follow CS.
I mean, by looking at the existing code in PEAR, that it doesn't seem to be
such a big concern to follow PEAR CS. I for one have always tried to follow the
rules as close as I could. And I will continue to do so until I find the rules
are stupid, something which apparently will come sooner than I thought. Just to
be sure you understand what I am saying: "I won't prefix my protected vars with
underscores, whether it is one, two or three underscores". I hope that's ok
with everyone :)
Bertrand Mansion
Mamasam