January 2019
Beginner to intermediate
554 pages
13h 31m
English
Dispatch is a concept that emerged from the object-oriented programming paradigm, mainly in the context of one of its features called polymorphism. In the context of OOP, when APIs are generic or take parameters implementing an interface, it here has to figure out what method implementation to invoke on an instance of a type that's passed to the API. This process of method resolution in a polymorphic context is called dispatch, and invoking the method is called dispatching. In mainstream languages that support polymorphism, the dispatch may happen in either of the following ways:
Read now
Unlock full access