Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42848 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48755 invoked from network); 26 Jan 2009 12:06:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2009 12:06:08 -0000 Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.51 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.51 darkcity.gna.ch Linux 2.6 Received: from [195.226.6.51] ([195.226.6.51:35895] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/0F-55096-E27AD794 for ; Mon, 26 Jan 2009 07:06:07 -0500 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 72DA1B70B0; Mon, 26 Jan 2009 13:06:03 +0100 (CET) X-Virus-Scanned: amavisd-new at gna.ch Received: from mail.gna.ch ([127.0.0.1]) by localhost (gna.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OoJmnbYK5McA; Mon, 26 Jan 2009 13:06:03 +0100 (CET) Received: from [192.168.1.72] (rim-zhgw-cc [84.75.132.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id 6A23FBAE13; Mon, 26 Jan 2009 13:06:02 +0100 (CET) Message-ID: <497DA729.8070206@cschneid.com> Date: Mon, 26 Jan 2009 13:06:01 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: PHP internals References: <497A4138.2000707@gravitonic.com> <7f3ed2c30901231537j35d3b4c2i945de77a6a14dba0@mail.gmail.com> <497A578B.4080208@gravitonic.com> <3959E78B-13FC-437E-86BE-5B9EAF575BD0@pooteeweet.org> In-Reply-To: <3959E78B-13FC-437E-86BE-5B9EAF575BD0@pooteeweet.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Reserved namespaces From: cschneid@cschneid.com (Christian Schneider) 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