EXPRESSION (PROGRAMMING)
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. Normally, an expression with side effects does not have the property of referential transparency.
★ Statement (programming) (contrast)
★ Boolean expression
★ Expression (mathematics)
★ evaluation strategy
★ Expression in The Free On-line Dictionary of Computing, Editor Denis Howe.
Expressions may or may not have side effects. Normally, an expression with side effects does not have the property of referential transparency.
| Contents |
| See also |
| References |
See also
★ Statement (programming) (contrast)
★ Boolean expression
★ Expression (mathematics)
★ evaluation strategy
References
★ Expression in The Free On-line Dictionary of Computing, Editor Denis Howe.
This article provided by Wikipedia. To edit the contents of this article, click here for original source.
psst.. try this: add to faves

العربية
中国
Français
Deutsch
Ελληνική
हिन्दी
Italiano
日本語
Português
Русский
Español