Value semantics
In computer science, having value semantics (also value-type semantics or copy-by-value semantics) means for an object that only its value counts, not its identity. Immutable objects have value semantics trivially, and in the presence of mutation, at any point in a program, an object with value semantics can only be uniquely-referenced. The concepts that are used to explain this concept are extensionality, definiteness, substitutivity of identity, unfoldability, and referential transparency.
In computer science, having value semantics (also value-type semantics or copy-by-value semantics) means for an object that only its value counts, not its identity. Immutable objects have value semantics trivially, and in the presence of mutation, at any point in a program, an object with value semantics can only be uniquely-referenced. The concepts that are used to explain this concept are extensionality, definiteness, substitutivity of identity, unfoldability, and referential transparency.
References
No reference rows published for this article.
Cite this article
MLA
"Value semantics." encyclopegia.org, 2026, https://encyclopegia.org/wiki/value-semantics. Accessed 24 November 2026.
Chicago
"Value semantics." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/value-semantics.
APA
encyclopegia.org. (2026). Value semantics. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/value-semantics
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON