Re: [PEPr] Comment on PEAR::Namespace

From: Date: Tue, 21 Mar 2006 18:22:28 +0000
Subject: Re: [PEPr] Comment on PEAR::Namespace
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41922@lists.php.net to get a copy of this message
Max Melnychok wrote: > Max Melnychok (http://pear.php.net/user/keymone) has commented on the proposal for > PEAR::Namespace. > > Comment: > > why? it's just shortcuts to original classes and functions This is exactly why this is a problem. You are not creating namespaces, but actually polluting the global PHP namespace with aliases that could generate conflicts or make some packages unusable. Furthermore this breaks the PEAR CS of package name mapping to file location. > > only problem i see now is reference parameters in original function > argument list - they will be just copied So, you already see that this added later is not really beneficial. It doesn't really help the coder either, because she/he would have to remember that a certain class has been aliased... > > Proposal information: > http://pear.php.net/pepr/pepr-proposal-show.php?id=375 > -Philippe

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