Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50014 invoked by uid 1010); 28 Nov 2005 22:48:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 49999 invoked from network); 28 Nov 2005 22:48:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2005 22:48:18 -0000 X-Host-Fingerprint: 66.216.66.81 mail.ionzoft.com Linux 2.4/2.6 Received: from ([66.216.66.81:44118] helo=mail.ionzoft.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C1/65-21657-1398B834 for ; Mon, 28 Nov 2005 17:48:17 -0500 Received: from JASONGARBER2 (207-255-4-232-static.aoo.pa.atlanticbb.net [207.255.4.232]) by mail.ionzoft.com (Postfix) with ESMTP id F11738A4081; Mon, 28 Nov 2005 17:48:51 -0500 (EST) Date: Mon, 28 Nov 2005 17:48:12 -0500 X-Mailer: The Bat! (v3.5.25) Professional Reply-To: Jason Garber Organization: IonZoft, Inc. X-Priority: 3 (Normal) Message-ID: <675691196.20051128174812@ionzoft.com> To: "Sara Golemon" CC: "\"Jessie Hernandez\"" , internals@lists.php.net In-Reply-To: <01d801c5f46a$ac03d450$5c8be5a9@ohr.berkeley.edu> References: <0D.A2.21657.EFE7B834@pb1.pair.com> <01d801c5f46a$ac03d450$5c8be5a9@ohr.berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Basic Namespace Requirements From: jason@ionzoft.com (Jason Garber) Hello Sara, Please explain what the difference is between nested classes, and this type of namespacing? If you scrapped namespace constants and functions, then all we have left is classes. If it was looked at as nested classes, then we get all the functionality with all the simplicity and the benefit of being able to use "::". Please take a moment to explain, because I am an avid user, not a tokenizer :) -- Best regards, Jason mailto:jason@ionzoft.com Monday, November 28, 2005, 5:25:41 PM, you wrote: >> So, the question is, can we scrap both namespace constants and namespace >> functions and just stay with classes (as was agreed on several months ago, >> Andi himself agreeing to it)? This would make the patch smaller, simpler, >> AND would allow me to reuse the "::" operator (and there would be no >> conflicts with ternary operations). >> SG> Absolutely. Static methods and Class constants are more than sufficient. SG> All the added functionality of namespaces without all the baggage. SG> +1 SG> -Sara