Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33768 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72121 invoked by uid 1010); 5 Dec 2007 20:14:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72101 invoked from network); 5 Dec 2007 20:14:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2007 20:14:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=robert@interjinn.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=robert@interjinn.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain interjinn.com from 66.11.173.122 cause and error) X-PHP-List-Original-Sender: robert@interjinn.com X-Host-Fingerprint: 66.11.173.122 unknown Received: from [66.11.173.122] ([66.11.173.122:44610] helo=blobule.interjinn.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/05-20707-5A607574 for ; Wed, 05 Dec 2007 15:14:30 -0500 Received: by blobule.interjinn.com (Postfix, from userid 2000) id DEA7C5AD64C; Wed, 5 Dec 2007 15:14:24 -0500 (EST) To: Stanislav Malyshev Cc: internals@lists.php.net In-Reply-To: <4756E849.9050904@zend.com> References: <200712042226.08192.larry@garfieldtech.com> <1196829384.14915.6.camel@blobule> <4756E11B.8030302@zend.com> <1196876641.14915.40.camel@blobule> <4756E849.9050904@zend.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: InterJinn Date: Wed, 05 Dec 2007 15:14:24 -0500 Message-ID: <1196885664.14915.51.camel@blobule> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Subject: Re: [PHP-DEV] RFC: Dropping Namespace From: robert@interjinn.com (Robert Cummings) On Wed, 2007-12-05 at 10:04 -0800, Stanislav Malyshev wrote: > > > namespaces bring to the table beyond that, is the ability to > > shorthand the class names within the namespace... as I said candy > > coating. > > You can say it as many times as you like, it doesn't make it true. It > is the capability that enables one to simplify the code by avoiding > spelling out the full name every time. Ummm, "avoiding spelling out the full name every time" is the same as shorthanding the class name (or for more clarity, the fully resolved class name given the namespaces exist). And I already do that within my code without namespaces. > > everyone had named their classes and functions with appropriate > prefixes then this would be a non-issue. Seriously, how were so many > people so > > As I said, namespaces is not only names, so it is not true. Yes, but the main push for namespaces is to solve the problem of colliding names. > > Hope this clears up your confusion, although I doubt you were > > particularly confused. > > I wasn't confused, I was surprised that after all the explanations > people still make such strange claims which have nothing to do with > what namespaces really are. And as I said before, I'm not for or against namespaces. I still stand by the phrase that they are sugar. obviously, given the lengths of arguments and discussions about them on this list, they don't seem to be contributing in particular to the KISS principle. Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ...........................................................