Binding can be either Static binding[?], which means it happens at compile-time, or dynamic[?], which means it happens at run-time. Deep binding[?] and shallow bindings[?] are not kinds of binding, but ways to implement binding.
Also, scope rules might define binding time of objects.
Binding time is determined largely with allocation of objects.
Some objects can be bound at compile-time or link-time[?]. For example,
static int n; int main () { n = 12; return n; }
In this C code, a global variable n is bound to certain location in the memory of the computer.
Search Encyclopedia
|
Featured Article
|