lua-users home
lua-l archive

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

steve donovan escribió:
On 9/18/07, David Manura <> wrote:
Duck wrote:
There's an implementation of the third way in,
showing how inheritance etc works.  There are some interesting
trade-offs, but it definitely makes sense to have a metatable
corresponding to the 'class' object of other languages like Smalltalk
and Python - that is, a metatable shared by all instances of that
class type.

steve d.

There's also this library I wrote, inspired in SimpleLuaClasses. It  adds multiple inheritance, both standard and virtual (C++ style).

-- HE