lua-users home
lua-l archive

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


> Actually, you *can* build a OO system in Lua that uses . as the method
>call notation. The end result uses more memory, but is faster than
>traditional : notation.

Which highlights another reason why I don't think there should be an
automatic implicit "self" - it "ennobles" one particular view of object
orientation.

You don't have to use objects in Lua - it's not just an OO language, and if
you do, you don't have to conform to a particular model of OO. This is a
good thing.