lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.