[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Idea: numbered error messages
- From: Cory Burgett <neverdream@...>
- Date: Thu, 3 Feb 2005 14:59:55 -0500
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.