Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40666 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39994 invoked from network); 24 Sep 2008 13:57:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Sep 2008 13:57:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=federico.lebron@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=federico.lebron@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.78.27 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: federico.lebron@gmail.com X-Host-Fingerprint: 74.125.78.27 ey-out-2122.google.com Received: from [74.125.78.27] ([74.125.78.27:35216] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/51-52685-2474AD84 for ; Wed, 24 Sep 2008 09:57:23 -0400 Received: by ey-out-2122.google.com with SMTP id 5so697144eyj.59 for ; Wed, 24 Sep 2008 06:57:19 -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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=4T4yv2ourCgcKqH2Z549Y+fZ03SWUHek+FyKN+D2L7k=; b=IWBEQQfhaWg7hlpVRmfPUuuHMX0NruhB9hwOE/IMpKaYygZtCFhuPHVBmighhQLCMv N6zSJspEfNuzyy8LaImmTvqzJqia6l/UfYrQPLw3TbO5gnW34uQoSrMpPdGelyuCNccD vyz9DOf+UMfsib4Uue6hKkDc60fxbtWxqw0y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=olLsofwkumYn9Wt090c4LyNEnGW77SWqJGZdr1i0zqUQwxKuLV+0e6E2Ej4ueh2c8F KmUq+Yf9WKTLogy8W7EZb2aGF3Hf6AEX2w8MBbBL5SbkvbF4WgVsvoapuZpZxlzZVbEC DMZLYA1KRVbcUX01eEuER1omZrGfwUpI9Y7iU= Received: by 10.210.42.13 with SMTP id p13mr5822242ebp.140.1222264639429; Wed, 24 Sep 2008 06:57:19 -0700 (PDT) Received: from ?192.168.1.42? ([200.41.67.19]) by mx.google.com with ESMTPS id k5sm9048754nfh.0.2008.09.24.06.57.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Sep 2008 06:57:18 -0700 (PDT) Message-ID: <48DA4711.50505@gmail.com> Date: Wed, 24 Sep 2008 10:56:33 -0300 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tony Bibbs CC: internals@lists.php.net References: <690689.77991.qm@web706.biz.mail.mud.yahoo.com> In-Reply-To: <690689.77991.qm@web706.biz.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] true namespaces, yet another point of view From: federico.lebron@gmail.com (Federico Lebron) Tony Bibbs wrote: > I disagree here...it is both wanted and and needed. This feature has been promised to the community for quite some time now and I'd simply remind you you do have the option of *not* using namespaces if you don't want too. If you like REALLY_LONG_CLASS_NAMES that's still perfectly valid. Don't like it, don't use it but I think working through the remaining issues and getting it out is important. Making right decision on the approach is important too and from an outsiders point of view a lot of progress has been made and it now seems very, very close to being a reality. Ditching it should be the last thing considered. > > I can't say it enough, if you don't like where the namespace implementation ends up you can simply decide not to use it. > > --Tony As far as I know, that argument doesn't really fly here, since you might not use it, but in a large PHP project, someone in your team will. "If you don't like it, don't use it" doesn't hold since you still have to understand, and possibly modify, your teammate's code. A similar point was raised, IIRC, for the [1,2] short-array notation. This is particularly important because large codebases, usually with several people touching the code, are the primary target for namespaces, as opposed to short one-person form-processing scripts,. - Federico