Re: prefixing classes
| From: | Justin Patrin | Date: | Thu, 27 Apr 2006 17:30:29 +0000 |
| Subject: | Re: prefixing classes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42399@lists.php.net to get a copy of this message | ||
On 4/27/06, Lukas Smith <smith@pooteeweet.org> wrote:
> Hi,
>
> we need to address this topic .. all new classes should be prefixed with
> "PEAR_" to properly namespace them away from internal objects.
>
Huh? Since when has this been a PEAR requirement? I understand the
namespacing issue, but this will make PEAR packages far more unweildy.
I'm generally against such a practice...DB_DataObject_FormBuilder and
Structures_Datagrid are far long enough for me. If a class name would
collide with an internal object it should just be renamed.
--
Justin Patrin