lua-users home
lua-l archive

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

On Sun, Jun 21, 2009 at 11:30 AM, Jim Whitehead II<> wrote:
> I'd seriously consider what your focus is actually meant to be.  Isn't
> it better to explain to the reader what is going on and lead them
> through steps to understand it, than to hide all those details from
> them?  Lua is not Ruby, is not Python and hiding those details I can't
> see being a good thing.

It is still very useful to have a reasonably robust table dumper. Or
do you force them to say 'for k,v in pairs(t) do print(k,v) end'?  A
little help in the begining is worth a lot of purity.  Maybe make it
explicit, even call it dump(), but don't exclude it.

steve d.