« Liaison de nom » : différence entre les versions


(Page créée avec « == Domaine == Category:Vocabulary == Définition == == Termes privilégiés == == Anglais == === Name binding === In programming languages, name bind... »)
 
m (Remplacement de texte — « Termes privilégiés » par « Français »)
Ligne 8 : Ligne 8 :
   
   


== Termes privilégiés ==
== Français ==


   
   

Version du 31 décembre 2018 à 14:50

Domaine

Définition

Français

Anglais

Name binding

In programming languages, name binding is the association of entities (data and/or code) with identifiers.[1] 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. 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).

Use of an identifier id in a context that establishes a binding for id is called a binding (or defining) occurrence. In all other occurrences (e.g., in expressions, assignments, and subprogram calls), an identifier stands for what it is bound to; such occurrences are called applied occurrences.