lua-users home
lua-l archive

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



On Apr 13, 2006, at 23:11, Mildred wrote:

Something Idon't like about the module() functiuon is that this
functiuon creates a global table that contains the module.
I prefer when no global table is created, then, the global environment
is always clean and you know what you put in there.
Any thoughts about that ?

Yes. This is a very unfortunate situation.

I was seriously contemplating re-implementing my class system in terms of the module function, but this global namespace pollution is a show-stopper :(

Any reason(s) for 'module' littering the global environment?

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/