[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: modules, require, magic
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 19 Oct 2011 18:24:18 -0200
> Certainly an improvement from handling the module table explicitly
> (and no segfaults this time). But having basically the same function
> being provided by the loader[1] would obviate the need for explicitly
> mentioning _ENV.
I think explicitly mentioning _ENV is good. If you are working with
a different global environment, why hide that information? Moreover,
a modified 'load' function forces everyone to live with its magic.
-- Roberto
- References:
- modules, require, magic, Eduardo Ochs
- Re: modules, require, magic, Javier Guerra Giraldez
- Re: modules, require, magic, Petite Abeille
- Re: modules, require, magic, Sam Roberts
- Re: modules, require, magic, David Manura
- Re: modules, require, magic, Hisham
- Re: modules, require, magic, Roberto Ierusalimschy
- Re: modules, require, magic, Fabio Mascarenhas
- Re: modules, require, magic, Roberto Ierusalimschy
- Re: modules, require, magic, Hisham