lua-users home
lua-l archive

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


On 13 July 2017 at 14:27, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Thu, Jul 13, 2017 at 3:21 PM, Javier Guerra Giraldez
> <javier@guerrag.com> wrote:
>> but a rather big checkbox in enterprisey decision making
>
> Which is a pity, since people who have learned it seem to be forever
> stuck like flies in amber.
>

Actually OO is essential tool for organizing large code bases. I am
not talking about inheritance and all - but just the ability to
organize your code into objects of different types. Remember objects
carry state.
I find that even with Lua, when I am exposing an API - I need to make
it OO for the user else user has to manage state and call functions
with potentially large number of arguments which just doesn't make
sense.

Regards