Re: Namespace Question - Simple
| From: | Richard Quadling | Date: | Fri, 26 Sep 2008 11:49:23 +0000 |
| Subject: | Re: Namespace Question - Simple | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40704@lists.php.net to get a copy of this message | ||
2008/9/26 Nathan Rixham <nrixham@gmail.com>:
> Hi All,
>
> Can anybody answer the following question for me please.
>
> Why not follow (exactly) Java's strong static package/namespace system
> rather than a home grown dynamic namespace system?
>
> It works, it's common, logical, robust, a working model to follow, and ties
> in well with the PHP on Java movement.
>
> Regards,
>
> Nathan
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
From what I understand, JAVA is compiled and PHP isn't. PHP can
include namespaces/classes/etc. at run time. Whereas everything has to
be known upfront.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"