Beginner · Systems
Name binding
Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.
TL;DR. In programming, the association of an identifier (name) with a specific piece of data or code.
Technical Definition
In programming, the association of an identifier (name) with a specific piece of data or code.
How it works
Name binding is a fundamental concept in programming languages that links an identifier, like a variable name, to a specific object or value in memory. This binding determines which value or code a name refers to during program execution. The scope of a name dictates where and when a binding is active, influencing which identifier refers to which object.
Related Concepts
- Programming language — A formal language consisting of instructions used to create programs that produce output on a computer.