lua-users home
lua-l archive

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


From: Zed A. Shaw
> 1) What's people's favored OO system for Lua and the 
> advantages/disadvantages?

I wrote my own OO system that mimics (but doesn't match) the basics of
Ruby's inheritance hierarchy.
http://phrogz.net/AnarkSamples/AKClassHierarchy.lua

Compare the relative simplicity of:
http://phrogz.net/AnarkSamples/AKClassHierarchy.png
against
http://phrogz.net/RubyLibs/RubyMethodLookupFlow.png