On Mon, 23 Jul 2007, David Zülke wrote: > Am 23.07.2007 um 16:25 schrieb Brian Moon: > > > > import SQLAlchemy::Column > > > import SQLAlchemy::Table > > > import SQLAlchemy::Join > > > import SQLAlchemy::ForeignKey > > > import SQLAlchemy::Session > > > import SQLAlchemy::Transaction > > > > 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 IMO, 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 = new SQLAlchemy::Transaction. > > 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 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 useful for anything. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php