Module:User:Erutuon/languages/documentation

An experiment with creating a lua object to which only a specified number of the methods in Module:languages are added. This may be less memory-intensive than creating a lua object with every function (many of which are never used in the module in which the object is generated), as is currently done.

Another issue is that the data in the Language object can be gotten by indexing it – lua, for example – but this is discouraged. It can even be modified: lua. Storing the data in the metatable and preventing access to it would make both of these impossible.