[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Programming Gems?
- From: "Steven Johnson" <s.johnson@...>
- Date: Sat, 11 Nov 2006 01:21:34 -0600
I'd be interested in taking part. I need to document a lot of our major
scripts around the end of the year, while we're between projects. These
be done with training in mind, so I'll probably be writing something
no matter what.
A topic that comes to mind is "Some object-oriented uses of the __call
metamethod"(or something more catchy). I have, for instance, function
that can be used for dispatching on multiple types(similar to CLOS
and sandwiching a function between before- and after-functions in a nice
Plus several uses to go along with these. And I'm sure many of you could
supplement this with more examples, if it wasn't enough. (Or even if it
I'd like to see others.)
I have a few decent iterators and coroutine uses, too.
WISH LIST: I could probably come up with more later, but a topic I'd like
to see is "Some interesting uses of function environments"(or something
catchy :P ). I don't have any; thus the wish.
 Dispatching on multiple types implies a type system. I've got that
so does everybody else. How self-contained(within the Gem, within the
within the book, etc.) does a Gem need to be? When in doubt, can we just
"See the CD/website"?
If you are interested in writing one or more Lua Programming Gems, please
state your intention here in lua-l. If there is enough interest, then a
separate channel will be created for further discussion.
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/