[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: require, module, globals and "magic"
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 16 Aug 2010 08:45:37 -0300
> > but the current require() function still creates the global
>
> To correct myself; the global is NOT created in this way. Rather,
> it's module() that does the dirty.
And that is the main point of this discussion: module has no business
doing that. Once this magic is removed from module, the very little that
is left is better made explicit.
- References:
- require, module, globals and "magic", Nevin Flanagan
- Re: require, module, globals and "magic", steve donovan
- Re: require, module, globals and "magic", Lorenzo Donati
- Re: require, module, globals and "magic", steve donovan
- Re: require, module, globals and "magic", steve donovan