value semantics
[/ˈvæl.ju səˈmæn.tɪks/]
noun
semântica de valor
1. A programming language design principle where variables hold independent copies of data rather than references to shared objects, ensuring that operations on one variable do not affect others
In languages with value semantics, assigning a struct to another variable creates a complete independent copy.
Em linguagens com semântica de valor, atribuir uma struct a outra variável cria uma cópia independente completa.
2. The semantic model where data is passed by value, meaning modifications to copied data do not affect the original source
Swift implements value semantics for structs and enums to prevent unexpected side effects.
Swift implementa semântica de valor para structs e enums para evitar efeitos colaterais inesperados.
This is a specialized technical term primarily used in computer science and software engineering communities. It gained prominence with languages like Swift and Rust that emphasize value semantics as a core design principle. The term is used identically across English-speaking regions and Brazilian/Portuguese technical communities, reflecting the international nature of programming language design discussions.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →