Re: How bad would it be to say/enforce that namespacing can only apply to classes and not normal functions?

From: Date: Thu, 26 Jun 2008 15:14:57 +0000
Subject: Re: How bad would it be to say/enforce that namespacing can only apply to classes and not normal functions?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-38638@lists.php.net to get a copy of this message
How bad would it be to say that namespacing can only apply to classes and not normal functions?
Lame, very lame. It would make them unusable for many distributed projects that are not 100% OOP. Wordpress comes to mind. My own Phorum as well.
It was my understanding that one of the primary reasons for introducing namespacing was to protect against userland_class vs builtin_class collision.
No, that is the OOP propaganda machine at work. Don't listen to the OOP machine. It lies. =) Brian.

« previous php.internals (#38638) next »