Lukas Kahwe Smith wrote:
> On 24.01.2009, at 00:49, Andrei Zmievski wrote:
> 
>> Hannes Magnusson wrote:
>>> I don't think we have to treat our users like a total fcking idiots.
>>> If anyone thinks using "SPL" or "PHP" as their root namespace is a
>>> good idea they deserve to be kicked in the nuts.
>>
>> And who's going to administer this kicking?
> 
> I think the decision was to not yet bother with reserving namespaces or
> starting to namespace-ify extensions. We might however want to put out a
> naming guide for namespaces.

Things 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.

My two cents,
- Chris

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to