Re: namespaces and alpha3
| From: | Stefan Walk | Date: | Wed, 15 Oct 2008 09:34:34 +0000 |
| Subject: | Re: namespaces and alpha3 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41065@lists.php.net to get a copy of this message | ||
On Wednesday 15 October 2008 11:16:09 Lester Caine wrote:
> THAT is probably why I am asking the question? And may well be key to my
> understanding why converting non OO code into OO code in PHP is so
> problematic. When I was coding in CC++ more heavily libraries did not need
> to be objects and the 'namespace' just wrapped the code OR the code was
> built as an object. That is what I understand by a namespace, so perhaps I
> do not understand why leaving out functions and constants is acceptable :(
Uhm. Even the standard library in C++ has a lot of classes and objects in the
std namespace. Boost in boost. Where did you get that notion of exclusive or?
Regards,
Stefan