[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Newbie question list: Was The perverse vibe of lua-l
- From: Javier Guerra Giraldez <javier@...>
- Date: Tue, 25 Jan 2011 09:16:48 -0500
On Tue, Jan 25, 2011 at 3:05 AM, Steve Litt <firstname.lastname@example.org> 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.