lua-users home
lua-l archive

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

On Fri, Jul 28, 2000 at 02:29:19PM -0300, Luiz Henrique de Figueiredo wrote:
> >>From  Wed Jul 19 19:51:30 2000
> >From: Andy Tai <>
> >
> >Maybe the Lua developers want to add a standard way of doing classes?
> I don't think this would be consistent with Lua's philoshophy of providing
> meta-mechanisms instead of features.
> I think that any such move would have to go into the syntax and
> we (the Lua team) don't want that.
> We simply give you a:f() as a way of defining and calling methods.
> Of course, that does not stop the community from trying to reach a
> consensus on how to make classes from different authors work in
> concert.  

Hmm.. that's how I read the suggestion the first time. I posted some
URLs for how I do some classes.

> What Lua does provide -- and that was a major conceptual change
> brought by Lua 3.0 -- are tag methods so that classes can be written
> *without* interfering with one another, which is the exact opposite
> of what you seem to be suggesting.

Along the lines of meta-mechanisms, how about a syntax extension
mechanism so we can make a consistant class syntax part of the
community? :)   [ I'm half-joking ]

David Jeske (N9LCA) + +