[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: modules, require, magic
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 21 Oct 2011 16:43:55 -0200
> On Wed, Oct 19, 2011 at 1:25 AM, Hisham <hisham.hm@gmail.com> wrote:
> > Discussing this offlist with Fabio he also mentioned another benefit
> > of module()-style modules: that one can easily inspect the code
> > mechanically for global declarations and infer what's exported, while
> > module()-less-modules make this kind of static analysis a lot more fragile.
>
> LuaInspect's experience has actually been the opposite. [...]
This is quite interesting. It turns upside down a strong argument in
favor of 'module'.
-- 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, David Manura