Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26681 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85425 invoked by uid 1010); 20 Nov 2006 20:58:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 85408 invoked from network); 20 Nov 2006 20:58:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 20:58:04 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:1272] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/47-33211-BD612654 for ; Mon, 20 Nov 2006 15:58:03 -0500 Received: (qmail 45969 invoked by uid 98); 20 Nov 2006 20:58:04 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.4/2205. Clear:RC:1(127.0.0.1):. Processed in 3.412453 secs); 20 Nov 2006 20:58:04 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 3.412453 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 20 Nov 2006 20:57:59 -0000 Received: from 208.195.234.246 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Mon, 20 Nov 2006 14:57:59 -0600 (CST) Message-ID: <48988.208.195.234.246.1164056279.squirrel@www.l-i-e.com> In-Reply-To: <93D5CEF8-B094-4BBA-8563-419F046C0DC7@prohost.org> References: <4554AE0D.4080600@caedmon.net> <4554B9B5.5090305@caedmon.net> <20061110182358.GB20309@bantha> <4554F6CB.4060409@php.net> <93D5CEF8-B094-4BBA-8563-419F046C0DC7@prohost.org> Date: Mon, 20 Nov 2006 14:57:59 -0600 (CST) To: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Namespaces in PHP 6 - ++$take From: ceo@l-i-e.com ("Richard Lynch") On Fri, November 10, 2006 4:07 pm, Ilia Alshanetsky wrote: > On 10-Nov-06, at 5:01 PM, Lukas Kahwe Smith wrote: >> Remember the point Sebastian made earlier. Its also a hassle during >> development of the library code itself, where you have to deal with >> endlessly long class names. > > You still have the same long names, you've just split them into two > namespaces + classname rather then just one class name. This all also rather depends upon the eventual implementation. I'm sure you're aware that in some languages it is possible to 'import' another namespace and re-name it to NOT conflict with existing namespaces. This also allows one to short the name of the namespace if it is ridiculously long: import('stupidly_long_brand_aware_name_space_foo.php', 'foo'); That feature may already be "off the table" for PHP in this discussion, but it may explain this dichotomy of what different posters are thinking namespaces will "fix" or "not fix"... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?