lua-users home
lua-l archive

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


I do not think it is a good idea to have Lua output numbered error
messages. The main reason is that Lua is supposed to be easy to
understand and read. Numbered error messages are cryptic (and ugly!)
and therefore hinder readability.
Embedded Lua applications could be compiled before being placed in
their target machine. The compiler outputs verbose messages that are
mostly easy to read even for beginners.
A list of error messages as stated is a good idea, however the error
messages could be listed in alphabetical order with an explanation
rather than numerically.
Error messages being stored outside of the code could impact the speed
of Lua, and is also not as portable as one would think.