Microsoft Store
 

Identity


 

Computer programming

In object-oriented programming, object identity is a mechanism for distinguishing different objects from each other. This is based on the philosophical concept of identity, but applied to data structures.

Related Topics:
Object-oriented programming - Object identity

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

In programs, one frequently may have several variables (or pointers) which refer to the same underlying data structure. An identity predicate allows one to ask whether two variables refer to the same thing. In many languages, identity can be determined more efficiently than equality since the former involves simply a pointer comparison while the latter must traverse data structures.

Related Topics:
Variable - Pointer - Predicate - Equality

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ Table of Content ~

Introduction
Computer programming
Digital identity
Human identity
Logic
Metaphysics
Philosophy
External links

 

 

~ What's Hot ~


~ Community ~

History Forum
Come and discuss about History, Civilizations, Historical Events and Figures
History Web-Ring
A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site.