Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41266 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23467 invoked from network); 18 Oct 2008 21:06:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2008 21:06:47 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:56732] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/07-11719-5EF4AF84 for ; Sat, 18 Oct 2008 17:06:47 -0400 Received: from MBOERGER-ZRH.corp.google.com (41-88.106-92.cust.bluewin.ch [92.106.88.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id E636111DCF4; Sat, 18 Oct 2008 23:06:42 +0200 (CEST) Date: Sat, 18 Oct 2008 23:03:50 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <610432496.20081018230350@marcus-boerger.de> To: "William A. Rowe, Jr." CC: internals@lists.php.net In-Reply-To: <48F8D221.4090805@rowe-clan.net> References: <48F89F19.9040405@croscon.com> <48F8D221.4090805@rowe-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Namespace issues From: helly@php.net (Marcus Boerger) Hello William, Friday, October 17, 2008, 7:57:53 PM, you wrote: > Marcel Esser wrote: >> Using ::: as a namespace seperator would be great. > A general rule of telephony dialing and other data input, three of > the same character will too often be entered or recognized as two > or four characters due to user or mechanical error. That's why > when you see mnemonic phone numbers they rarely repeat three > digits in the middle (three 0's at the end for example aren't > subject to the excess fourth repetition problem). This is the major flaw with that solution. Personally I just looked at working code that had (:::) and (\) which is the second option I also mentioned already long ago. And (:::) can be read very easy. The visual difference to (::) is big enough. However it is too easy to either type two or four. Thus the backslash (the only other conflict free) character is probably the better option - even though no one has done something like that. Btw, it pretty much suggests thatyou use the same structure for your directories and files. Which you'd do inside __autoload() most likely anyway. Best regards, Marcus