Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76731 invoked from network); 27 Oct 2008 12:49:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2008 12:49:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=david@grudl.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=david@grudl.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain grudl.com from 64.233.182.189 cause and error) X-PHP-List-Original-Sender: david@grudl.com X-Host-Fingerprint: 64.233.182.189 nf-out-0910.google.com Received: from [64.233.182.189] ([64.233.182.189:62532] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/B0-34199-6F8B5094 for ; Mon, 27 Oct 2008 07:49:59 -0500 Received: by nf-out-0910.google.com with SMTP id b11so705849nfh.13 for ; Mon, 27 Oct 2008 05:49:55 -0700 (PDT) Received: by 10.103.173.5 with SMTP id a5mr2697532mup.117.1225111794753; Mon, 27 Oct 2008 05:49:54 -0700 (PDT) Received: from ?192.168.1.23? ([77.240.188.66]) by mx.google.com with ESMTPS id s10sm5075903muh.12.2008.10.27.05.49.52 (version=SSLv3 cipher=RC4-MD5); Mon, 27 Oct 2008 05:49:53 -0700 (PDT) Message-ID: <4905B8C7.3020809@grudl.com> Date: Mon, 27 Oct 2008 13:49:11 +0100 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Derick Rethans CC: Thomas Lee , PHP internals References: <49047D62.1030900@lsces.co.uk> <49059FC1.2060702@vector-seven.com> <9b3df6a50810270411t2b8e050au33d68564225311d4@mail.gmail.com> <4905A81F.3070506@vector-seven.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RE: From: david@grudl.com (David Grudl) > On Mon, 27 Oct 2008, Thomas Lee wrote: > > How would delyaing it help? I agree, delaying will not help (and namespaces are the most expected feature in PHP 5.3). > If we could have made :: work, we would have. Greg (and others) > spend countless hours trying out different concepts, with different pros > and cons -- you can find those on the wiki as RFCs. But what is the purpose of namespaces? To give developers their own separated space. And it is their responsibility to not use ambiguous names. PHP has not problem with class Foo::Bar and namespace Foo::Bar, but coding standards usually prohibits it. Developers are not stupid. I think there is no reason to PHP trying be smarter than them. (I know, this is kind of philosopher argument, but the same thinking works in C++ well). The only way how > all issues could be solved was by picking a different namespace > separator. There would have been anything that could have changed this > without creating any sort of BC issues. From the possible namespace > separators, \ was the best one as we could see. That's how it is, that's I will be glad for each separator, but :: is the best one :-)) David Grudl