Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43350 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74281 invoked from network); 15 Mar 2009 03:41:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2009 03:41:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 209.85.221.108 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 209.85.221.108 mail-qy0-f108.google.com Received: from [209.85.221.108] ([209.85.221.108:45475] helo=mail-qy0-f108.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/20-06903-3E87CB94 for ; Sat, 14 Mar 2009 22:41:24 -0500 Received: by qyk6 with SMTP id 6so3596048qyk.29 for ; Sat, 14 Mar 2009 20:41:21 -0700 (PDT) Received: by 10.224.37.14 with SMTP id v14mr3837284qad.70.1237088481335; Sat, 14 Mar 2009 20:41:21 -0700 (PDT) Received: from monster.local ([12.147.118.135]) by mx.google.com with ESMTPS id 9sm8158758yxs.36.2009.03.14.20.41.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 14 Mar 2009 20:41:20 -0700 (PDT) Message-ID: <49BC78DE.2050609@chiaraquartet.net> Date: Sat, 14 Mar 2009 22:41:18 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: Andrei Zmievski , Christian Schneider , PHP internals References: <497A4138.2000707@gravitonic.com> <7f3ed2c30901231537j35d3b4c2i945de77a6a14dba0@mail.gmail.com> <497A578B.4080208@gravitonic.com> <3959E78B-13FC-437E-86BE-5B9EAF575BD0@pooteeweet.org> <497DA729.8070206@cschneid.com> <49B99D30.2060803@gravitonic.com> <6265D75C-A493-43EA-8CE5-D1DA4F0C0E46@pooteeweet.org> In-Reply-To: <6265D75C-A493-43EA-8CE5-D1DA4F0C0E46@pooteeweet.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Reserved namespaces From: greg@chiaraquartet.net (Greg Beaver) Lukas Kahwe Smith wrote: > > On 13.03.2009, at 00:39, Andrei Zmievski wrote: > >> Christian Schneider wrote: >>> 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. >> >> Just a gentle reminder to make sure we don't miss this.. > > > Well cant we just use the class naming guide? As in put a prefix in your > namespace names, do not use an extension name (or something that could > likely become an extension name) as your prefix. > > Then again for classes we say that the prefix should be prepended with > an underscore as the separator as the ultimate protection. That of > course does not seem feasible for namespaces. -1 for using existing guide Please don't make us do this This is fine: Greg