note 92146 deleted from language.namespaces.rationale by danbrown
| From: | danbrown@php.net | Date: | Tue, 14 Jul 2009 21:08:11 +0000 |
| Subject: | note 92146 deleted from language.namespaces.rationale by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158301@lists.php.net to get a copy of this message | ||
Note Submitter: jdornan at stanford dot edu
----
The backslash is a special character and seemingly hard one to access visually since we all
recognize it as escaping the next character in a string. The '::' separator would seem
better. A namespace could then just be one more class like entity, such as Interfaces. In this case
the namespace would be the root entity of the class or class like entities.
In this case, accessing a static method in a class in a namespace would appear like this.
name::space::class::static_method( <args> );
Rather than
name\space::class::static_method( <args> );
This is not a feature request, or maybe it is. Most likely this comment will be delete, but this
*is* where people who are interested in the namespace feature will be looking and I expect there is
an important topic.