variablesconstantssemantics

Common name for variable and constant


In programming (and math) there are variables and constants. Is there a name to describe both of them? I was thinking value, but that's not it. A value is what variables/constants contain, not what they are.


Solution

  • I would call it a symbol. From google:

    sym·bol/ˈsimbəl/Noun
    1. A thing that represents or stands for something else, 
       esp. a material object representing something abstract.
    ...