Re: Reserved namespaces
| From: | Lukas Kahwe Smith | Date: | Mon, 30 Mar 2009 23:28:49 +0000 |
| Subject: | Re: Reserved namespaces | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43547@lists.php.net to get a copy of this message | ||
On 13.03.2009, at 00:39, Andrei Zmievski wrote:
Christian Schneider wrote:So where are we at here? If nobody proposes something, this will just slide by .. I guess we can say that there is a definate risk, that eventually extensions will become namespaced. Same for internal functions. So calling a namespace "Date" or "str" is probably not a good idea .. right? Now for the less obvious stuff .. does the ZF prefix all their top level namespaces with ZF etc.? Speaking of ZF ... wasnt there an effort over at ZF to define a sensible standard? regards, Lukas Kahwe Smith mls@pooteeweet.orgThings gettings reserved at a later stage (like originally keywords, now namespaces) can lead to a big deal of frustration. Therefore I think it is crucial to have a clear naming guide now. And these guidelines have to be noticed by everybody who starts to use namespaces so they have to be placed prominently. Personally I'd even prefer them to be enforced in code so they can't be missed. Removing restrictions later on causes less trouble so I wouldn't mind too much if a couple of namespaces (or namespace prefixes) are reserved but never used.Just a gentle reminder to make sure we don't miss this..