Dynamic Binding (computer Science)

Dynamic Binding (computer Science)

In computer science, dynamic dispatch (also known as dynamic binding) is the process of mapping a message to a specific sequence of code (method) at runtime. This is done to support the cases where the appropriate method can't be determined at compile-time (i.e., statically). Dynamic dispatch is only used for code invocation and not for other binding processes (such as for global variables) and the name is normally only used to describe a language feature where a runtime decision is required to determine which code to invoke.

This object-oriented feature allows substituting a particular implementation using the same interface, and therefore it enables polymorphism.

Read more about Dynamic Binding (computer Science):  Single and Multiple Dispatch, Dynamic Dispatch Mechanisms

Famous quotes containing the words dynamic and/or binding:

    “Imagination is always the fabric of social life and the dynamic of history. The influence of real needs and compulsions, of real interests and materials, is indirect because the crowd is never conscious of it.”
    —Simone Weil (1909–1943)

    “What is lawful is not binding only on some and not binding on others. Lawfulness extends everywhere, through the wide-ruling air and the boundless light of the sky.”
    —Empedocles 484–424 B.C., Greek philosopher. The Presocratics, p. 142, ed. Philip Wheelwright, The Bobbs-Merrill Co., Inc. (1960)