3 ms·
And incidentally, dynamic dispatching is recognised as the key feature of OO: (Cook 2009) Object-oriented programming is successful in part because its key tec
by yvdriess 13y ago
And incidentally, dynamic dispatching is recognised as the key feature of OO: (Cook 2009)
Object-oriented programming is successful in part because its key technical characteristic—dynamic dispatch-is essential to supporting independent, interoperating extensions; and because interoperable extension is in turn essential to the reuse of architectural code (as in frameworks), and more broadly to the design of modern software ecosystems.
- vidarh 13y agoI'm not sure if you're agreeing or disagreeing with me. Dynamic dispatch is supported by most statically typed OO languages. C++ virtual member functions are dynamic dispatch. So indeed, dynamic dispatch is one of the key features that makes the distinction between calling methods and sending messages sufficiently un-important that static OO languages are still useful. What was (perhaps too imprecisely) referred to in my comment above is late/dynamic binding.