val
C2 (Very Low Frequency in general English; High Frequency in specific technical domains)Technical/Programming; Archaic/Poetic
Definition
Meaning
A term used in computing to denote a value; most commonly appears as part of the keyword `val` in programming languages like Kotlin and Scala, where it declares an immutable variable (a value that cannot be reassigned).
Historically, an archaic or poetic term of address for a man (from 'valiant'); also a rare abbreviation for 'value', 'valuation', or 'valedictorian'. Its dominant modern usage is technical/computer science.
Linguistics
Semantic Notes
In modern contexts, 'val' is almost exclusively a programming keyword. Its semantic field is narrowly restricted to variable declaration and immutability. Outside computing, it is obsolete or highly specialized.
Dialectal Variation
British vs American Usage
Differences
No significant regional difference for the technical term. The archaic 'val' (for a man) is equally obsolete in both dialects.
Connotations
Technical, precise, modern (in programming); archaic, literary (otherwise).
Frequency
Extremely rare in general corpora. Frequency spikes only occur in software documentation, code repositories, and computer science texts.
Vocabulary
Collocations
Grammar
Valency Patterns
val [identifier]: [Type] = [expression]Vocabulary
Synonyms
Neutral
Weak
Vocabulary
Antonyms
Usage
Context Usage
Business
Not used.
Academic
Used exclusively in Computer Science/Programming language papers and textbooks.
Everyday
Virtually never used.
Technical
Primary context. Refers to a language construct for declaring immutable references.
Examples
By CEFR Level
- This word is not used at A2 level.
- I read about the 'val' keyword in a programming tutorial.
- In Kotlin, you should use 'val' for variables that don't need to be reassigned.
- The functional paradigm heavily relies on immutable data structures, making the 'val' declaration fundamental.
Learning
Memory Aids
Mnemonic
Think of 'val' as short for '**val**ue that is locked' or '**val**iantly constant' (it doesn't change).
Conceptual Metaphor
A named box whose contents are fixed after being placed inside (immutability).
Watch out
Common Pitfalls
Translation Traps (for Russian speakers)
- False friend: 'вал' (shaft, rampart, currency exchange rate) in Russian is unrelated. The English 'val' is not a noun for a physical object.
Common Mistakes
- Using 'val' in general English writing. Confusing 'val' (immutable) with 'var' (mutable) in code.
- Pronouncing it as /vɑːl/ (like 'calm') instead of /væl/ (like 'cat').
Practice
Quiz
What is the primary modern usage of 'val'?
FAQ
Frequently Asked Questions
Yes, but its active use is almost entirely confined to computer programming as a technical keyword. Its other meanings are archaic.
No, unless you are speaking with a programmer about code. In general English, it would be misunderstood or sound like a mistake for 'pal' or 'guy'.
'val' declares an immutable reference (the value cannot be changed). 'var' declares a mutable variable (the value can be reassigned).
It is pronounced /væl/, rhyming with 'pal' and 'gal'.