Python was designed (was Re: Multi-threading in Python vs Java)
Chris Angelico
rosuav at gmail.com
Wed Oct 16 20:28:26 EDT 2013
On Thu, Oct 17, 2013 at 11:13 AM, Mark Janssen
<dreamingforward at gmail.com> wrote:
> But, here it is significant that the user /consumer (i.e. *at the
> workstation* mind you) is *making* the "object" because thier visual
> system turns it into one. Otherwise, at the C-level, I'm guessing
> it's normal C code without objects, only struct-ured data. That is,
> you don't get all the OOP benefits like inheritance, polymorphism and
> encapsulation. C can do 2 of those, albeit kludgingly, but not all
> three. And without all three, it's not at all well-established that
> you're doing real OOP.
Wrong. At the C level, it's all still objects, with inheritance,
polymorphism, and encapsulation. Piles and piles of boilerplate to
make things work, and you have to compile your .IDL file into C and
then fill in your code, and make sure you don't disrupt things, but it
works beautifully. It's object oriented machine code.
ChrisA
More information about the Python-list
mailing list