Re: How bad would it be to say/enforce that namespacing can only apply to classes and not normal functions?
| From: | Richard Quadling | Date: | Thu, 26 Jun 2008 19:37:45 +0000 |
| Subject: | Re: How bad would it be to say/enforce that namespacing can only apply to classes and not normal functions? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38644@lists.php.net to get a copy of this message | ||
2008/6/26 Stefan Priebsch <stefan.priebsch@e-novative.de>:
> Hey all,
>
> honestly, it is not my intention to raise a new flamewar, but aren't most
> of these ambiguity problems we talk about due to the fact that :: is used as
> the namespace separator?
>
> Regards,
>
> Stefan
>
I think so. Considering this _IS_ a new facility I can't see why having 3
:'s wouldn't be a good solution.
namespace:::class::static()
namespace:::function()
No confusion. Clearly defined. No collision.
>
> --
> >e-novative> - We make IT work for you.
>
> e-novative GmbH - HR: Amtsgericht München HRB 139407
> Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch
>
> http://www.e-novative.de - GnuPG Key: 0x7DB67F7F
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"