lua-users home
lua-l archive

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


Jonathan Goble <jcgoble3@gmail.com> wrote:
> I have always interpreted the manual's "convention" as referring
> specifically to global names (i.e. fields in _G), since Lua may use such
> names for its own purposes (e.g. _G and _VERSION). I've never interpreted
> it to mean that such names should be avoided even in module tables, since
> Lua itself doesn't use such names anywhere but _G.

That's what I've always thought too. But since the manual's advice has come
up a couple of times on this thread, I thought I would check what others
thought.

Thanks.
-- 
We have not been faced with the need to satisfy someone else's
requirements, and for this freedom we are grateful.
    Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System