Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Late binding is a
computer programming mechanism in which the method being called upon an
object is looked up by name at runtime. This is informally known as duck
typing or name binding. Late binding is often confused with dynamic
dispatch, but there are significant differences. With early binding the
compiler statically verifies that there are one or more methods with the
appropriate method name and signature. This is usually stored in the
compiled program as an offer in a virtual method table and is very
efficient. With late binding the compiler does not have enough
information to verify the method even exists, let alone bind to its
particular slot on the v-table. Instead the method is looked up by name
at runtime. The primary advantage of using late binding in Component
Object Model programming is that it does not require the compiler to
reference the libraries that contain the object at compile time.