Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42095 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53740 invoked from network); 2 Dec 2008 22:14:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2008 22:14:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:46013] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/23-36301-433B5394 for ; Tue, 02 Dec 2008 17:14:12 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 25F0A4144058; Tue, 2 Dec 2008 22:17:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xr1Y42ycL00n; Tue, 2 Dec 2008 23:17:26 +0100 (CET) Received: from [192.168.0.108] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 804C74144009; Tue, 2 Dec 2008 23:17:26 +0100 (CET) Cc: PHP internals Message-ID: <788A2975-EA0F-4493-87D4-3419FBDE79C5@pooteeweet.org> To: David Grudl In-Reply-To: <4935A7AF.7010405@grudl.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 2 Dec 2008 23:12:06 +0100 References: <4935A7AF.7010405@grudl.com> X-Mailer: Apple Mail (2.929.2) Subject: Re: [PHP-DEV] New namespace implementation From: mls@pooteeweet.org (Lukas Kahwe Smith) On 02.12.2008, at 22:25, David Grudl wrote: > 2) Relative Resolving > > I pointed out to inappropriate relative resolving earlier (http://news.php.net/php.internals/41837 > ). In the world of well-written namespaced frameworks the ratio of > usage of "more nested" classes vs. "less nested" is in large > majority in favor of the second (http://news.php.net/php.internals/41980 > ), but PHP prefer the first way. Now, the new implementation offers > way to resolve names relative when it is needed - using 'namespace' > operator (as equivalent of the 'self' operator). So I think now > there is no reason to use default relative resolving and it should > be removed. Like Stas said, lets go with what we have and collect some feedback. Hopefully we will not have to do any larger changes to namespaces after alpha3, but if we have to we will. That being said I really hope that people honor the thought process that went into the current implementation by really giving things a go without prejudice. Your comments are noted and not ignored. regards, Lukas Kahwe Smith mls@pooteeweet.org