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

Language question, a little bit OT



I just read a post by Eric Kidd on rooting all objects in a common ancestor,
and did a mental check on the OO languages I can remember right now.

Common Lisp and Dylan are dispatching methods according to their
argument types and support multiple inheritance.

C++ does the same, I imagine, but I don't know about multiple
inheritance there. It's too complicated for me, just like those
3d-arcade games :-)

Java and Delphi dispatch on argument types but do not support MI.

Python, Perl and Ruby seem to use Smalltalks message passing
and support single inheritance only. (Yes, I know about the module
trick in Ruby, but that's no real MI.)

Does anyone know a language with both message passing and MI?
Or is there some fundamental reason that these two don't match?

Wondering,
Stefan


-- 
Stefan Schmiedl
EDV-Beratung, Programmierung, Schulung
Loreleystr. 5, 94315 Straubing, Germany
Tel. (0 94 21) 74 01 06     Fax (0 94 21) 74 01 21
Public Key: http://xss.de/stefan.public

Change is Constant


Follow-Ups: