Re: PEAR2 package naming standards (namespace usage)
| From: | David Jean Louis | Date: | Wed, 27 Aug 2008 10:15:22 +0000 |
| Subject: | Re: PEAR2 package naming standards (namespace usage) | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-50647@lists.php.net to get a copy of this message | ||
Martin Jansen a écrit :
On Wed, Aug 27, 2008 at 11:16 AM, David Jean Louis <izimobil@gmail.com> wrote:I think the main reason is to easily differenciate namespace parts which are not classes from real classes, eg: pear2::foo::bar::BazClass But as I said, I think this decision should not be taken without some sort of consensus with the outside-pear world ;) -- DavidSpeaking of the lowercase idea, I'm all for it, but I think this decisionWhat is the exact reason for going lowercase? I'd prefer to stick to PEAR2::Foo::Bar::Baz() because this is more in line with the rest of the coding standards (-> camelCase) in my opinion.