An expression in a programming language is a combination of values, variables, operators, and functions that are interpreted (evaluated) according to the particular rules of precedence and of association for a particular programming language, which computes and then produces (returns, in a stateful environment) another value. The expression is said to evaluate to that value. As in mathematics, the expression is (or can be said to have) its evaluated value; the expression is a representation of that value.
Expressions may or may not have side-effects and lose the referential transparency with them.
Evaluation | Programming constructs
Ausdruck (Programmierung) | Expresión (programación) | Espressione (informatica) | கோவை (நிரலாக்கம்)
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Expression (programming)".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world