Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31192 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60035 invoked by uid 1010); 23 Jul 2007 14:47:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60017 invoked from network); 23 Jul 2007 14:47:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2007 14:47:19 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.5 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.6 Received: from [82.94.239.5] ([82.94.239.5:59603] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/6F-32314-D6FB4A64 for ; Mon, 23 Jul 2007 10:47:15 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id l6NEl1r7020528; Mon, 23 Jul 2007 16:47:01 +0200 Date: Mon, 23 Jul 2007 16:47:02 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: =?UTF-8?Q?David_Z=C3=BClke?= cc: PHP Internals In-Reply-To: <40CA6572-030F-43E2-8706-64D1167C527C@bitxtender.com> Message-ID: References: <46A31D95.2080407@fischer.name> <46A4661A.6080202@zend.com> <200707231140.55535.pstradomski@gmail.com> <46A4BA4F.6090506@dealnews.com> <40CA6572-030F-43E2-8706-64D1167C527C@bitxtender.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1690053079-1185202022=:27483" Subject: Re: [PHP-DEV] Question about Namespace patch From: derick@php.net (Derick Rethans) --8323329-1690053079-1185202022=:27483 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 23 Jul 2007, David Z=C3=BClke wrote: > Am 23.07.2007 um 16:25 schrieb Brian Moon: >=20 > > > import SQLAlchemy::Column > > > import SQLAlchemy::Table > > > import SQLAlchemy::Join > > > import SQLAlchemy::ForeignKey > > > import SQLAlchemy::Session > > > import SQLAlchemy::Transaction > >=20 > > Why use namespaces if you are going to do this? You are just bringing = your > > classes into the global name space. The nice thing about namespaces IM= O, is > > that I don't have to have a class named SQLAlchemy_Transaction. I can = just > > have a class named Transaction in the SQLAlchemy namespace. I can then > > create a new object using $obj =3D new SQLAlchemy::Transaction. >=20 > Oh yes, sure, that must be the main point about namespaces - I can use ":= :" > instead of "_" as a delimiter! Yay! You forgot that you can also move the "prefix" in front of the class=20 name to "namespace prefix!" > Come on, you can't be serious. I sort of agree, I don't see how the current implementation is really=20 useful for anything. regards, Derick --=20 Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org --8323329-1690053079-1185202022=:27483--