lua-users home
lua-l archive

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


 >>     http://mova.org/~cheusov/pub/lua_alt_getopt/
 >>
 >> I'm new to Lua and this module is actually my first program written in Lua.
 >> So, I need your feedback ;-)

> You really shouldn't use double-underscore prefixes in normal
> code... looks unnecessary there.

I'd like to somehow separate (visually) code in a module into two
sections: export (list of exported functions, variables etc.) and
implementation (internals that should not be used outside this
module).  Is there naming conventions for this in Lua?

> IMHO it's better to throw the error and give the choice to the caller
> what to do with the error message, like the io module.
Ok. Thanks.

-- 
Best regards, Aleksey Cheusov.