3 ms·
>- Its object orientation story is weird. There is inheritance and there are methods, but there was something off and I can't remember what. I think it did not
by _dain_ 5y ago
>- Its object orientation story is weird. There is inheritance and there are methods, but there was something off and I can't remember what. I think it did not support runtime polymorphism, which to me is one of the main points of object orientation. (e.g. you have objects of different types in the same container and you call a method on each, instead of using an `if` statement.)
Are you thinking of multiple dispatch? i.e. runtime dispatch on the type of _every_ function argument. It used to have that but they took it out. It still has runtime dispatch on the first argument.