CS 3304: Comparative Languages
Names and Binding
[
Course Documents
] : [
Names and Binding
]
Previous
Contents
Next
Keyword Index
Static and Dynamic Binding
A binding is
static
if it occurs before run time and remains unchanged throughout program execution
A binding is
dynamic
if it occurs during execution or can change during execution of the program
In many ways, binding times for various attributes determine the flavor of a language
As binding time gets earlier:
efficiency goes up
safety goes up
flexibility goes down