Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41382 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84881 invoked from network); 26 Oct 2008 14:23:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2008 14:23:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.20.123 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.20.123 c2bthomr05.btconnect.com Received: from [213.123.20.123] ([213.123.20.123:8770] helo=C2bthomr05.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/C1-64555-D5D74094 for ; Sun, 26 Oct 2008 09:23:26 -0500 Received: from [127.0.0.1] (host81-138-11-136.in-addr.btopenworld.com [81.138.11.136]) by C2bthomr05.btconnect.com with ESMTP id IVP39987; Sun, 26 Oct 2008 14:23:21 GMT Message-ID: <49047D62.1030900@lsces.co.uk> Date: Sun, 26 Oct 2008 14:23:30 +0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 SeaMonkey/1.1.12 MIME-Version: 1.0 To: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=C2bthomr05.btconnect.com X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A09020B.49047D5A.0121,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] RE: From: lester@lsces.co.uk (Lester Caine) Tudor Prodan wrote: > PHP has to be unique, using the double colon notation would be too > cliche, but if we're not respecting conventions, why not go with > something more exotic? I've always liked the o with the slash trough > it. The e with the horizontal colon is also pretty nice. The n with > the tilde over it, it so strongly says _n_amespace. > > When I read this message first thing I did was check the date, but > deep down I knew it wasn't April yet. > > One of the top reasons why I hate using windows consoles is the > dreaded "\" character. > > Each and every keyboard model I have has this key in a different > place, sometimes one hard to reach. Every time I'm in doing a cd in > windows I press 2-3 other keys while going for the backslash. > > That whole rating table over on the PHP wiki is just ridiculous. > - type-ability: come on. If anything, it should get -1 there > - typo-vulnerability: pretty big, but I think most problems will be > escaping rather than typos anyway > - number of chars: any sane person will agree that you can write > "::" a lot faster than "\" > - editor integration: not really, many editors will have trouble, including vim > > I eagerly await namespaces in PHP, but guys, if you don't have a good > idea, I think copying is better than implementing a bad one. Tudor - There is little point reiterating half of the facts. There are very good reasons why - for PHP - a simple solution was not working. MANY people were coming up with problems as to why the currently implemented 'solution' was only going to create a black hole at some point, and what ever was doing to be done was going to cause problems somewhere. The backslash is not ideal, but I think we all need to get behind it rather than complaining. The only other real alternative today is to shelve namespaces altogether for the next release rather than putting something in that is simply not practical to extend later? Given the polarised views a total solution that everybody could agree with was just not happening! -- 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