Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33776 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95494 invoked by uid 1010); 5 Dec 2007 21:10:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95466 invoked from network); 5 Dec 2007 21:10:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2007 21:10:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=jochem@iamjochem.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jochem@iamjochem.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iamjochem.com from 194.109.193.121 cause and error) X-PHP-List-Original-Sender: jochem@iamjochem.com X-Host-Fingerprint: 194.109.193.121 mx1.moulin.nl Linux 2.6 Received: from [194.109.193.121] ([194.109.193.121:47133] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/42-12052-0C317574 for ; Wed, 05 Dec 2007 16:10:31 -0500 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id D26A6279999; Wed, 5 Dec 2007 22:10:17 +0100 (CET) X-Virus-Scanned: amavisd-new at moulin.nl Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (mx1.moulin.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RNZXybh8ILdo; Wed, 5 Dec 2007 22:10:12 +0100 (CET) Received: from [10.0.13.54] (ip129-15-211-87.adsl2.versatel.nl [87.211.15.129]) by mx1.moulin.nl (Postfix) with ESMTP id 4589C279944; Wed, 5 Dec 2007 22:10:12 +0100 (CET) Message-ID: <475713B2.4030802@iamjochem.com> Date: Wed, 05 Dec 2007 22:10:10 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Stanislav Malyshev CC: Derick Rethans , PHP Developers Mailing List References: <4755FB31.2050901@zend.com> <4756E3AF.2070703@zend.com> <4756EC80.1070500@iamjochem.com> <4756F146.3050306@zend.com> <4756F740.3060800@iamjochem.com> <4757060A.8040008@zend.com> In-Reply-To: <4757060A.8040008@zend.com> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Namespace From: jochem@iamjochem.com (Jochem Maas) Stanislav Malyshev wrote: >> based on the reactions it has been recieving I would disagree. that is >> not to say >> that completing the baking process would not result in a wonderful >> functional addition >> to the language. I'm just advocating putting it on the backburner >> until the cooking >> time is complete. > > So far I have yet to see an improvement proposal except for: > 1. Let's do it with braces > and > 2. Multiple namespaces per file. > > Neither of these doesn't make the concept "half-baked" if it's decided > on either side - first being tiny syntax detail blown entirely out of > proportion and second being technicality of little use for most people > except for sites engaging in exotic performance practices they better > didn't. Both do not have much to do with the conceptual level.\ even after I explained my [possibly dubious] use of the word "half-baked" you seem to feel compelled to focus on the negative emotions the word triggers. "half-baked" was the wrong word. you can't use a concept unless it's implemented - and we are arguing the implementation [details] not the concept. I believe that the implementation needs a little ironing out ... what's the harm in taking the time to do this? or at least taking the time to let consensus take hold? > >> you have metrics to back that up? of course not because it's a >> completely subjective > > Metrics of what? metrics that support your argument that namespaces will make code more maintainable, offer better structure and cleaner code. it was a rethorical question obviously because what consitutes better structure, code cleaniness and maintainability are subjective to say the least. I don't expect you to come up with any and I agree that namespaces do have the potential to help in this area. > >> I agree that namespaces pontentially offer a tool that allows >> developers to create >> clearer structure in their code but given that it's only a potential >> why not take a time > > Sure it's only a potential - there's no released PHP version with > namespaces. Only way to hammer out practical namespaces issues is to > start using them, and that doesn't happen until - well, we start using > them. it remains nothing more than a pontential even after release. in the same way that php itself has the potential to enable web developers to be fast and flexible in their implementations. this thread is proof enough that practical issues can be raised and hammered out before release .. granted the chance that you cover every edge case is unlikely.