Difference between revisions of "Name binding"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(First)
 
(etc)
Line 5: Line 5:
 
Machine languages have no built-in notion of identifiers, but name-object bindings as a service and notation for the programmer is implemented by programming languages.
 
Machine languages have no built-in notion of identifiers, but name-object bindings as a service and notation for the programmer is implemented by programming languages.
  
Binding is intimately connected with scoping, as scope determines which names bind to which objects -- at which locations in the program code (lexically) and in which one of the possible execution paths (temporally).
+
== Name binding and scope ==
 +
 
 +
Binding is intimately connected with [[Scope (computer science)]]|scope]], as scope determines which names bind to which objects -- at which locations in the program code (lexically) and in which one of the possible execution paths (temporally).
  
 
== External links ==
 
== External links ==
  
 
* [https://en.wikipedia.org/wiki/Name_binding Name binding] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Name_binding Name binding] @ Wikipedia

Revision as of 06:41, 15 June 2015

In programming languages, name binding is the association of entities (data and/or code) with identifiers.

An identifier bound to an object is said to reference that object.

Machine languages have no built-in notion of identifiers, but name-object bindings as a service and notation for the programmer is implemented by programming languages.

Name binding and scope

Binding is intimately connected with Scope (computer science)|scope]], as scope determines which names bind to which objects -- at which locations in the program code (lexically) and in which one of the possible execution paths (temporally).

External links