note 105962 deleted from language.namespaces by danbrown
| From: | danbrown@php.net | Date: | Wed, 28 Sep 2011 15:01:12 +0000 |
| Subject: | note 105962 deleted from language.namespaces by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183505@lists.php.net to get a copy of this message | ||
Note Submitter: tech at mutk dot net
----
I against the namespace style.
namespace my\name\space;
when
namespace my;
use name\space;
it is
use \my\name\space;
I think is the bad way to implement of namespace.
define name space by:
namespace my;
namespace my\space;
namespace my\name\space;
and the only way to use the name space as:
use my;
use my\space;
use my\name\space;
in namespace my; use space; is use namespace space; not namespace \my\space;
keep it simple is the best way.