[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: WANTED: POSIX compatible getopt
- From: Aleksey Cheusov <cheusov@...>
- Date: Sat, 10 Jan 2009 18:32:49 +0200
>> 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.
- References:
- WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Javier Guerra
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Rob Kendrick
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, Doug Currie
- Re: WANTED: POSIX compatible getopt, Aleksey Cheusov
- Re: WANTED: POSIX compatible getopt, KHMan