[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: inheritance and sub-tables
- From: Andrew Starks <andrew.starks@...>
- Date: Wed, 26 Feb 2014 15:45:34 -0600
On Wed, Feb 26, 2014 at 3:39 PM, Javier Guerra Giraldez
> wowowow, i never said that!
> one, Lua does have objects... every value is an object, be it OOP or not.
My apologies. I was lazy in a way that was material, which means I was wrong.
> two, these OOP implementations aren't "fake" in any way, they're just
> pre-built, it's nothing 'lesser', or second-class!
I agree with this. Back in the olden days, people would argue about
whether or not C++ was "truly object-oriented" or not. I was using the
word "fake" in this context. You can get what you need done, even when
you might choose a route that doesn't give you "true" data privacy,
for example. Or you can go all of the way and build up an OOP system
that meets your arbitrary definition of "true"...
Instead of "fake OOP", one might say that you can "ape" any OOP style
that you might care to emulate.