Re: Re: namespaces?
| From: | Jeff Stuart | Date: | Sun, 15 Jul 2001 23:32:39 +0000 |
| Subject: | Re: Re: namespaces? | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-806@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Absolutely! I would MUCH rather see us have to use a seperate
statement (maybe even just a mod of include. IE include KNOWS to
replace :: with a /) to include the classes that we need rather than
letting PHP decide which file to include for a class.
- --
Jeff Stuart
jstuart@neo.rr.com
"Stig S. Bakken" <Stig.Bakken@fast.no> wrote in message
news:3B522EC3.156AFEAD@fast.no...
[...text deleted...]
>
> I did some work to prepare pear for autoloading, basically the pear
> installer would check which constants, functions and classes a file
> defines and registers this in a dbm file. While it sounds cool, as
> a programmer I would be mch more confident using "use" to tell
> which classes I intend to use in a script. Too much autoloading
> magic may easily get out of hand.
>
- Stig
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBO1IoFo2gaWDOuGieEQKk0wCdHP4tlkqIOYkBTXnB0PwFIjdPX+cAoM8l
zKaiyyvXLHDr+zMa4XC4sdYV
=ytsw
-----END PGP SIGNATURE-----