lua-users home
lua-l archive

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


On Oct 16, 2011, at 8:30 PM, Roberto Ierusalimschy wrote:

>> This is a clear regression. 
> 
> In my view this is clear progress.

In my view, this is clear regression :)

> Modules do not interfere with each other: module 1 does not change the
> environment for module 2 (as happened by mistake in your example),

Implementation detail. 

> module 2 does not see locals declared in module 1, etc.

Implementation detail.

> Each module is
> sintactically distinct, with a clear boundary around each.

Repetitive boilerplate code.

> They are much more self contained.

At what cost?

Bottom line: module exists today, provides useful, simple to use functionalities to complement require. Clean it and keep it. 

For these who are somehow offended by its existence, and prefer to reinvent a square wheel, ignore it.