6.13 Chapter Summary
Binding is a relationship from one entity to another in a programming language or program (e.g., the variable a is bound to the data type int). The establishment of this relationship takes place either before run-time or during run-time. In the context of programming languages, the adjective static placed before a noun phrase indicates that the binding takes place before run-time; the adjective dynamic indicates that the binding takes place at run-time. For instance, the binding of a variable to a data type (e.g., int a;) takes place before run-time—typically at compile time—while the binding of a variable to a value takes place at run-time— typically when an assignment statement (e.g., a = 1;) is executed. Binding is one ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access