[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work4) now available
- From: Petite Abeille <petite_abeille@...>
- Date: Fri, 06 Aug 2010 23:11:09 +0200
On Aug 6, 2010, at 10:52 PM, Jonathan Castello wrote:
> On Fri, Aug 6, 2010 at 1:43 PM, Petite Abeille <petite.abeille@gmail.com> wrote:
>> Well, not much magic, just a bit of policy.
>
> This 'policy' doesn't allow you to make the module local only, which
> is one of the reason I don't use module().
Fair enough. The global namespace pollution of the module loading is, hmm, unfortunate to say the least. Module should stick with package.loaded and call it a day. Nonetheless, this is not a reason enough for throwing the baby out with the bath water and dispose of module entirely.