annotatedvariable
nounUK /ˈænəteɪtɪd ˈveəriəbl/
US /ˈænəteɪtɪd ˈveriəbl/
A variable that has a note added to it to explain what it is for.
The teacher showed us an annotated variable in the code so we knew what number it stored.
RELATED WORDS
OTHER MEANINGS
2. In programming, a variable declared with extra type or purpose information for tools and readers.
The annotated variable told the compiler exactly what kind of data to expect.
3. A data field in a dataset that includes a descriptive note about its contents.
Each annotated variable in the spreadsheet had a short note explaining its units.
4. A named value in a study that carries a remark about how it was measured.
The researcher kept an annotated variable to record the survey method used.