Provide a standard way to define classes.
Janet Rossini
Many Lua implementations allow
MyClass = class()
To cover all the usual metatable stuff, with the convention that
init
will be called if provided. A standard way to do it will enable easier code sharing and publication.
Log In
Toothless Draegonne
Having some kind of formal way to do classes/inheritance/etc would be kinda nice, while scripting is undergoing a massive rework anyway.