Re: What are the problems PEAR2 seeks to solve? [and a solution to therequire_once debacle]

From: Date: Wed, 29 Aug 2007 06:47:48 +0000
Subject: Re: What are the problems PEAR2 seeks to solve? [and a solution to therequire_once debacle]
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47892@lists.php.net to get a copy of this message
Hi, Philippe Jausions wrote:
Just a quick note: I'd strongly suggest to not shortcut the namespaces or even use import at all in PEAR2, but always use fully qualified namespaces. It makes the code much clearer for debugging, and prevents WTF moments.
For me the most obvious benefit of namespaces is getting rid of PEAR2_Obnoxiously_Long_Class_Names (HTML_QuickForm2_Element_Select_OptionContainer, add PEAR2 to the front and you get the idea). Your suggestion kinda defeats this benefit.

« previous php.pear.dev (#47892) next »