[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Try Lua!
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 21 Jun 2009 11:36:17 +0200
On Sun, Jun 21, 2009 at 11:30 AM, Jim Whitehead II<email@example.com> 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.