[PEPr] Comment on PEAR::Namespace

From: Date: Tue, 21 Mar 2006 18:11:44 +0000
Subject: [PEPr] Comment on PEAR::Namespace
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41920@lists.php.net to get a copy of this message
Justin Patrin (http://pear.php.net/user/justinpatrin) has commented on the proposal for PEAR::Namespace. Comment: I agree with Philippe. This isn't useful simply because it pollutes the namespace and will cause confusion among developers and users. It could also cause collisions and confusion when multiple classes/constants/etc are named the same. This is not the same as a "using" statement in C++, it is a bare approximation and will cause far more problems than it solves. In addition, you have some errors in your code, your code doesn't conform to PEAR CS, and your error handling is incorrect (return PEAR::raiseError(), not simply raiseError). Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=375 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

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