AskDefine | Define identifier

Dictionary Definition

identifier n : a symbol that establishes the identity of the one bearing it

User Contributed Dictionary



-er identify


  1. (operating system) A formal name used in source code to refer to a variable, function, procedure, package, etc. or in an operating system to refer to a process, user, group, etc.
  2. A primary key.

See also


formal name used in source code to refer to a variable, function, procedure, package, etc.
  • Croatian: identifikator
  • Czech: identifikátor
  • Finnish: tunniste
  • French: identificateur
primary key
  • Croatian: primarni ključ
  • Finnish: pääavain
  • French: identifiant



From identificare.



  1. to identify


fr-conj-ier identif

Extensive Definition

Identifiers (IDs) are lexical tokens that name entities. The concept is analogous to that of a "name". Identifiers are used extensively in virtually all information processing systems. Naming entities makes it possible to refer to them, which is essential for any kind of symbolic processing.

Identifiers in computer languages

In computer languages, identifiers are tokens (also called symbols) which name language entities. Some of the kinds of entities an identifier might denote include variables, types, labels, subroutines, and packages.
In most languages some character sequences have the lexical form of an identifier but are known as keywords. In a few languages, eg, PL/1, the distinction is not clear cut.
Computer languages usually place restrictions on what characters may appear in an identifier. For example, in early versions the C and C++ language, identifiers are restricted to being a sequence of one or more ASCII letters, digits (these may not appear as the first character), and underscores. Later versions of these languages, along with many other modern languages support almost all Unicode characters in an identifier (a common restriction is not to permit white space characters and language operators).
In compiled programming languages, identifiers are generally compile time entities. That is, at runtime the compiled program contains references to memory addresses and offsets rather than the textual identifier tokens (these memory addresses, or offsets, having been assigned by the compiler to each identifier).
In interpreted languages identifiers are often present at runtime, sometimes even as first-class objects which can be freely manipulated and evaluated. In Lisp, these are called symbols.
Compilers and interpreters do not usually assign any semantic meaning to an identifier based on the actual character sequence used. However, there are exceptions. For example:
  • in Perl a variable is indicated using a prefix called a sigil, which specifies aspects of how the variable is interpreted in expressions.
  • in Ruby a variable is automatically considered immutable if its identifier starts with a capital letter;
  • in Fortran, the first letter in a variable's name indicates whether by default it is created as an integer or floating point variable.
identifier in German: Identifikator
identifier in Spanish: Identificador
identifier in French: Identificateur
identifier in Korean: 식별자
identifier in Italian: Identificatore
identifier in Japanese: 識別子
identifier in Polish: Identyfikator (programowanie)
identifier in Russian: Идентификатор
identifier in Tamil: இனங்காட்டி (கணினியியல்)
Privacy Policy, About Us, Terms and Conditions, Contact Us
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2
Material from Wikipedia, Wiktionary, Dict
Valid HTML 4.01 Strict, Valid CSS Level 2.1