LWN.net Logo

inheritance != object oriented

inheritance != object oriented

Posted Mar 30, 2005 12:57 UTC (Wed) by zooko (subscriber, #2589)
In reply to: Everything to like by Zarathustra
Parent article: Evidence that Python is advancing into the enterprise (NewsForge)

I agree with you that inheritance is used way too much. I would be just as happy in a language without inheritance, and when I code in a language with inheritance, I try to avoid it as much as possible. (Such as, to be topical, Python, where the dynamic and structural object oriented make it easy for me to accomplish what I want without using Python's builtin inheritance.)

But inheritance != object oriented. Modern object oriented languages like E don't have inheritance.


(Log in to post comments)

inheritance != object oriented

Posted Mar 30, 2005 17:48 UTC (Wed) by Zarathustra (guest, #26443) [Link]

It depends what definition of "Object Oriented" you use. I(and I think rob) was trying to use the most "popular" definition, which probably is not the most accurate.

It has been argued that Limbo is object oriented done right. It has even been argued that Plan 9 is object oriented OS, where files are objects that have a well defined interface.

But in general by OO people understands Java, C++, and if you are lucky, Smalltalk.

By the way, E is quite interesting, I would like to use it for some project, I wonder how it compares with 9p/Limbo and Erlang.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds