lua-users home
lua-l archive

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


> OK, I understand that I can implement class-based OOP in Lua.  Can you
> provide any analysis on when prototypes are better or worse than
> classes?

I think the papers about Self (the first language to propose
prototype-based OO) are a good reading (although of course their
analysis is somewhat biased). The classic "Self: The Power of
Simplicity" is a good start:

  http://research.sun.com/self/papers/self-power.html

-- Roberto