Re: Re: cvs: php4 /pear Mail.php /pear/Mail rfc822.php
| From: | Jon Parise | Date: | Thu, 04 Jan 2001 16:06:31 +0000 |
| Subject: | Re: Re: cvs: php4 /pear Mail.php /pear/Mail rfc822.php | ||
| References: | 1 2 3 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-771@lists.php.net to get a copy of this message | ||
On Thu, Jan 04, 2001 at 10:13:53AM -0500, Chuck Hagenbuch wrote:
> Seriously, let's adopt a standard. Right now we have the studlyCaps standard:
>
> File_Search
> Date_Calc
These are correct.
> etc... then we have DB:
>
> DB_mysql
> DB_common
> Mail_smtp
These should be fixed, one way or another.
> What do we want? Renaming the DB classes would be a pain, but if
> we're going to do it for consistency, let's do it now. Do we go with
> first letter of each word capitalized, with an underscore wherever a
> directory (indicator of hierarchy) is?
Yes to both, with the exception of the acronyms (more below).
> Oh, and that last example brings up my last point: acronyms. Do we keep them
> capitalized:
>
> Mail_SMTP
> Mail_RFC822
Yes, use the "correct" capitalization for acronyms.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member