3 ms·
In a dynamically-typed message-passing system, inheritance is just automatically delegating messages to another actor and possibly modifying the results. Erlang
by fiddlerwoaroof 7y ago
In a dynamically-typed message-passing system, inheritance is just automatically delegating messages to another actor and possibly modifying the results. Erlang may not have explicit inheritance, but people almost certainly implement inheritance-like actor structures to achieve extensible message dispatch.
- zozbot234 7y ago> inheritance is just automatically delegating messages to another actor and possibly modifying the results. I don't think this is true. Objects can message themselves as part of base-class code; implementation inheritance means that this has to involve a level of indirection and dispatch, not just explicit delegation.
- fiddlerwoaroof 7y agoThis isn't always implicit, though: python's explicit self is still "object-oriented"