lua-users home
lua-l archive

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

Hi Stefan,

> > Other people have answered your closure problem I believe.  I have 
> > a data structure improvement.

> Right. Thanks to you all.

I just wanted to add that if you are truly interested in learning more about 
closures, what makes them tick, and this style of programming as a whole, the 
book by Harold Abelson and Jay Sussman, "Structure and Interpretation of 
Computer Programs" is a classic. It uses the Scheme programming language, but 
nearly every concept in this language can be expressed with some Lua equivalent 
(and this is a big reason why I love Lua as a language). It is not an easy book 
to work through, but anyone who does finish it will be a much better progammer 
for it.

Just my $.02.

- Christian