Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33715 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74543 invoked by uid 1010); 5 Dec 2007 05:09:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74527 invoked from network); 5 Dec 2007 05:09:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2007 05:09:30 -0000 Authentication-Results: pb1.pair.com header.from=sam@sambarrow.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sam@sambarrow.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sambarrow.com from 205.234.132.11 cause and error) X-PHP-List-Original-Sender: sam@sambarrow.com X-Host-Fingerprint: 205.234.132.11 scottsdale.servershost.net Received: from [205.234.132.11] ([205.234.132.11:60084] helo=scottsdale.servershost.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/E0-02044-98236574 for ; Wed, 05 Dec 2007 00:09:29 -0500 Received: from [216.15.51.211] (port=50669 helo=[192.168.1.96]) by scottsdale.servershost.net with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from ) id 1IzmVm-0004H8-Vu; Tue, 04 Dec 2007 23:09:31 -0600 To: Brian Moon Cc: Derick Rethans , PHP Developers Mailing List In-Reply-To: <4755D720.4040003@dealnews.com> References: <4755D720.4040003@dealnews.com> Content-Type: text/plain Date: Wed, 05 Dec 2007 00:09:26 -0500 Message-ID: <1196831366.9071.6.camel@sams-room> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - scottsdale.servershost.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sambarrow.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] RFC: Dropping Namespace From: sam@sambarrow.com (Sam Barrow) I think namespaces are very useful when it comes to PHP in large scale applications with hundreds of functions/classes. On Tue, 2007-12-04 at 16:39 -0600, Brian Moon wrote: > > With all the above considerations, especially my first point, I still have not > > heard any good reason why namespaces in the current implementation are actually > > useful - or what particular case they solve... so I am wondering, are they > > really useful? I come now to the conclusion that they are not, and for myself > > (and most likely my work projects) I would have to decide not to go with > > namespaces, but instead stick with the 3 letter prefixing. Something that I > > have totally no problem with, as it is nice and easy. > > I hate to, but I agree. If the only point is to make class naming > pretty, it is kind of pointless. Give me namespaces that scope > variables to a file and then we have something. Yeah, I still code the > way PHP intended you to code, by templateing files together and not > making gynormous classes to print out some simple HTML over and over. > > It would only be useful in that my company's code would not conflict > with some 3rd party software we use. > > -- > > Brian Moon > Senior Developer > ------------------------------ > http://dealnews.com/ > It's good to be cheap =) >