lua-users home
lua-l archive

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


> What I'm mostly interested in is the ones defined 'by convention'. I think
> it makes sense to create a generic list on the wiki so they can be shared
> (preventing users from creating different generics for the same purpose).
> And if done properly some might become the standard for the Lua community,
> which I think is a good thing.

Lua has the following convention:

  http://www.lua.org/manual/5.2/manual.html#3.1

  As a convention, names starting with an underscore followed by
  uppercase letters (such as _VERSION) are reserved for variables used
  by Lua.

In particular, the use of _TEST by an external library breaks it.

-- Roberto