Re: Re: import/use last call
| From: | Stefan Walk | Date: | Thu, 25 Oct 2007 11:56:58 +0000 |
| Subject: | Re: Re: import/use last call | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32978@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 25 October 2007 10:52:57 Ford, Mike wrote:
> On 23 October 2007 19:57, Gregory Beaver wrote:
> > The only reason for me is that "use" implies some kind of autoloading,
> > as I suggested in one of my other mails.
>
> H'mm, that's interesting. As I think I've said before, for me "use"
> implies
> using something that's already sitting around waiting to be used, whereas
> "import" suggests an actual "go fetch" action, such as include/autoload
> (and then using the result). I think I'd be slightly confused by a "use"
> that does an autoload and an "import" that doesn't. ;)
>
> Cheers!
>
> Mike
The "feel" of the words is probably influenced by your background. If you know
Perl, you'll say use implies autoloading, if you know Python, you'll say
import implies autoloading.
Regards,
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHIISVpPjfcppEficRArY0AJoDb6n7SmSLeSzp/nMMmzqfo3fdtwCdEdR6
5zLnW+EmKaAVlr1asYoHFbo=
=yzD3
-----END PGP SIGNATURE-----
Attachment: [application/pgp-keys] OpenPGP key 0x8B87F0F5F51768FE597E837BA4F8DF729A447E27
Attachment: [application/pgp-keys] OpenPGP key 0x8B87F0F5F51768FE597E837BA4F8DF729A447E27