Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41416 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50531 invoked from network); 27 Oct 2008 04:41:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2008 04:41:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=phpwnd@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=phpwnd@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.228 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: phpwnd@gmail.com X-Host-Fingerprint: 209.85.198.228 rv-out-0506.google.com Received: from [209.85.198.228] ([209.85.198.228:57925] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/E8-34199-D7645094 for ; Sun, 26 Oct 2008 23:41:33 -0500 Received: by rv-out-0506.google.com with SMTP id g37so2079748rvb.23 for ; Sun, 26 Oct 2008 21:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=T26IRNHQGeWdNWCLUCgW/wgBsWX87iTmBlGyVpZa3O0=; b=gqJNOfY/5qUJKNXFQraMOw/SYfvJCPGA3LPaqe76NOCrDKbpBVG4vFWOhDAGb5X5WB Jmc6zz1gbOm/rRE8n0GJ6SfhbvDPwKbnvU4P4qR87U6mN4PNxIPPQBSnZPQNQOmPNc2b yqt7abXO0mjCRMLgxI306GboZ86JV+tTSuR1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HDUPHRQrjW/GGzLdSG7JClbjahFfPnN25i514MZJwa26+hWl42Q1U7Xhj5/CXE8i8g fZvBdhISlW1uXSVHUmDzpJwU3Tb/JyIxxfpz5FyuvnSOGIQ3ZumJg39Q5nhA91X/ogpY y5Es8kG4q1y4qIZZQDX5XwI1XjoS9tn6jqef4= Received: by 10.141.176.13 with SMTP id d13mr2964954rvp.196.1225082490539; Sun, 26 Oct 2008 21:41:30 -0700 (PDT) Received: by 10.141.83.21 with HTTP; Sun, 26 Oct 2008 21:41:30 -0700 (PDT) Message-ID: <11c607a60810262141p693b1c11hc57d19ea53ad6103@mail.gmail.com> Date: Mon, 27 Oct 2008 05:41:30 +0100 To: "=?ISO-8859-1?Q?Cristian_Rodr=EDguez?=" Cc: "PHP internals" In-Reply-To: <490540C4.7070805@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <46BD96DF-B594-490C-9812-D7ACDD976205@pooteeweet.org> <490540C4.7070805@suse.de> Subject: Re: [PHP-DEV] From: phpwnd@gmail.com ("Josh Davis") 2008/10/27 Cristian Rodr=EDguez : > Im truly sorry, looking at the horrendously ugly example code, I just > hope the average joe programmer dont touch this feature and stay with > class prefixes for sanity sake. If by "don't touch" you mean "don't even try" then I'd say it's not a very good advice. I've tried Greg's patch [1] the day this thread was created. Even if I wasn't terribly happy with the choice (still beats the triple-colon in my opinion, though), even if I had to spend half an hour to convert my files to the new namespace separator (that's why it's called the "bleeding" edge I guess) and even if the first few minutes were uncomfortable, I'm now 36 hours after committing the changes to my personal code repository and the backslash doesn't even feel weird anymore. You just have to use it. It took a while to get used to PHP 5's object model, it will take a while to get used to PHP 5.3's namespacing. -JD [1] http://wiki.php.net/rfc/backslashnamespaces#patch