July 2004
Intermediate to advanced
752 pages
35h 59m
English
An instance of a data type, a value without identity.
See also data type, object.
A data value is a member of a mathematical domain—a pure value. Two data values with the same representation are indistinguishable; data values have no identity. Data values are passed by value in a programming language. It makes no sense to pass them by reference. It is meaningless to talk about changing a data value; its value is fixed permanently. In fact, it is its value. Usually, when one talks of changing a data value, one means changing a variable that holds a data value so that it holds a new data value. But data values themselves are invariable.
Read now
Unlock full access