Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40667 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43611 invoked from network); 24 Sep 2008 14:11:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Sep 2008 14:11:19 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.186 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.186 c2beaomr08.btconnect.com Received: from [213.123.26.186] ([213.123.26.186:3134] helo=c2beaomr08.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/02-52685-48A4AD84 for ; Wed, 24 Sep 2008 10:11:17 -0400 Received: from [127.0.0.1] (host81-138-11-136.in-addr.btopenworld.com [81.138.11.136]) by c2beaomr08.btconnect.com (MOS 3.8.6-GA) with ESMTP id AXE69754; Wed, 24 Sep 2008 15:11:13 +0100 (BST) Message-ID: <48DA4A88.70902@lsces.co.uk> Date: Wed, 24 Sep 2008 15:11:20 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: PHP internals References: <690689.77991.qm@web706.biz.mail.mud.yahoo.com> <48DA4711.50505@gmail.com> In-Reply-To: <48DA4711.50505@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=c2beaomr08.btconnect.com X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A0B0209.48DA4A82.0001,ss=1,fgs=0, ip=127.0.0.1, so=2007-10-30 19:00:17, dmn=5.7.1/2008-09-02 X-Junkmail-IWF: false Subject: Re: [PHP-DEV] true namespaces, yet another point of view From: lester@lsces.co.uk (Lester Caine) Federico Lebron wrote: > 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,. In addition one of the main reasons FOR namespace is to make libraries easier to manage, so if our own code does not use them it's likely that some library we select will - at some point. Hence my comments previously about having to take more care keeping things like namespace under control when deploying applications which may not have 5.3 available to run on. BC up to now has been relatively easy to maintain, but I have a feeling that 5.3 SHOULD be a major version number change so that we can maintain PHP5 compatibility easier? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php