Content deleted Content added
good to have both articles |
No edit summary |
||
Line 119:
I found a sentence "Inheritance mechanisms can be also found in several language that are not usually considered object-oriented, including Modula-3, Ada 95, and Oberon." ([[Programming Language Programatics]]) -- [[User:TakuyaMurata|Taku]] 21:55 6 Jun 2003 (UTC)
:Modula-3 IS an OO language it has classes and inheritance is performed by subclassing. Ada 95 IS also object oriented. Ada 83 wasn't. Oberon supports records bound to procedures and type inheritance it has been extended to be more OO with Oberon-2 and Object Oberon which features classes. [[User:Mintguy|Mintguy]] 22:16 6 Jun 2003 (UTC)
The definition of that inheritance is an extend a base class is a typical but not quite accurate. You can say Japanese live in Japan but Japanese do live outside Japan like me too. I do admit inheritance is predomintantely used in oop and in the majority of contexts of cs, inheritance means that in CS but wikipedia is not a summary of general case but compact generalization of matters. You cannot ignore the minority. Sorry about the definiition in inheritance which is not good enough. I am looking for a better definition that is not limited only to that in oop sense. -- [[User:TakuyaMurata|Taku]] 21:55 6 Jun 2003 (UTC)
|