Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26482 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73060 invoked by uid 1010); 10 Nov 2006 18:30:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73045 invoked from network); 10 Nov 2006 18:30:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2006 18:30:27 -0000 Received: from [127.0.0.1] ([127.0.0.1:20795]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id EF/B5-27611-345C4554 for ; Fri, 10 Nov 2006 13:30:27 -0500 Authentication-Results: pb1.pair.com header.from=daniel.gorski@develnet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=daniel.gorski@develnet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain develnet.org from 213.133.108.94 cause and error) X-PHP-List-Original-Sender: daniel.gorski@develnet.org X-Host-Fingerprint: 213.133.108.94 develnet.org Linux 2.4/2.6 Received: from [213.133.108.94] ([213.133.108.94:32873] helo=bantha.develnet.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/95-27611-1A3C4554 for ; Fri, 10 Nov 2006 13:23:31 -0500 Received: (qmail 6500 invoked by uid 1000); 10 Nov 2006 18:23:58 -0000 Date: Fri, 10 Nov 2006 19:23:58 +0100 To: internals@lists.php.net Message-ID: <20061110182358.GB20309@bantha> References: <4554AE0D.4080600@caedmon.net> <4554B9B5.5090305@caedmon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Subject: Re: [PHP-DEV] Namespaces in PHP 6 - ++$take From: daniel.gorski@develnet.org ("Daniel T. Gorski") On 10 Nov 13:05, Ilia Alshanetsky wrote: > On 10-Nov-06, at 12:41 PM, Sean Coates wrote: >> [...] >> I also don't deny that there will be a minor performance hit. There are a >> ton of other things in PHP that reduce performance.. the idea is to find >> a balance of which ones are worth it (as we did with OOP and Unicode), >> and I believe that namespaces are worth it. I also know that I'm not >> alone in this. > I think adoption rates speak for themselves, I think there is far > more demand for a fast & stable PHP then for syntatic sugar features > which seem extremely useful, but in the end prove to carry too much > baggage. Escpecially due to the new OO features of PHP 5, namespaces are urgently required for writers of independent libraries which should not clash. For me, I even would accept 10% performance loss to have namespaces implemented: I'd use a faster machine instead, which is cheaper compared to the adjustment of clashing class names from different libraries or frameworks. Unfortunately namespaces are not only syntactic sugar, but dire necessity for PHP if it wants to be taken as a serious langauage and defend it's position against other arising 'web scripting' alternatives. But I suppose, you know this. Just my two cents, regards dtg