lua-users home
lua-l archive

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


> On 5.3.2017, at 20.02, Francisco Olarte <folarte@peoplecall.com> wrote:
> 
>> On Sun, Mar 5, 2017 at 5:53 PM, Petri Häkkinen <petrih3@gmail.com> wrote:
>> Also, I don't see how not using "self" would stop me from writing a modding API.
> 
> Nothing.
> 
> You can easily do OO programming in assembler, where your objects are
> memory data blocks inside which there is a pointer to a jump table,
> IIRC Linux kernel does this in C for several things and C++ translate
> into a version of it. In fact things like C FILE* are clearly OO and
> in some libs FILE* are even polymorphic.
> 
> But I doubt that is the point. I, personally, normally use OO style
> when I find it easier or clearer.
> 
> 
> Francisco Olarte.
> 

Exactly. I'm also starting to feel this is a typical net discussion where nobody truly understand what the others are trying to say :-)