lua-users home
lua-l archive

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

On Tue, Jan 25, 2011 at 3:05 AM, Steve Litt <> wrote:
> but you can simulate OOP

please don't perpetuate the myth that there's some thing like 'real
OOP' and Lua gets only 'simulated OOP'.  Even your own answer has to
then justify with "as good as other OOPs".

IMO, a better answer would be like:

Q: Is Lua OOP?
A: Lua doesn't mandate OOP, but you get powerful primitives to define
any kind of object-oriented style you want.  As a bonus, there's an
optional OO-style for method calling.