According to lua.org, Lua has been OO since 1995:
"Lua 2.1 was released on 07 Feb 1995. Its main new features were extensible semantics via fallbacks and support for object-oriented programming."
But according to the Gideros documentation:
"Lua itself does not support classes, but Gideros does. This document explains how to emulate OO programming and classes in Lua."
Comments
About Lua
[ Source ]About Gideros
@atilim said :in fact, gideros.class (Note : now deprecated, use Core.class instead) is a simple Lua OO mechanism. Except inheritance, Its implementation is very similar to the code below. You can directly use this instead of inheriting from EventDispatcher:
Likes: Teranth