On Fri, Jan 23, 2009 at 03:58:22PM -0800, Andrei Zmievski wrote:
> Lukas Kahwe Smith wrote:
> >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.
>
> I agree. Whether the error is raised or not on reserved namespaces can be
> done later, but we should explicitly indicate that certain namespaces are
> off-limits.
Could take the simple convention that exists in perl with modules.
Module names begin with a capital letter, pragmase are lower case, thus you
have:
use strict;
use IO::File
Nobody is made to do anything, however you loose the option to complain if your
namespace starts with a lower case character.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php