Content deleted Content added
m Reverted edits by 82.14.11.93 (talk) (HG) (3.4.10) |
No edit summary |
||
Line 3:
In simple settings, the [[return type|resulting value]] is usually one of various [[primitive data type|primitive types]], such as numerical, [[string (computer science)|string]], [[boolean expression|boolean]], [[complex data type]] or other types.
Expression is often contrasted with [[Statement (computer science)|statement]]
==Examples==
Line 24:
Note that the formal notion of a side effect is a change to the abstract state of the running program.
Another class of side effects are changes to the concrete state of the computational system, such as loading data into cache memories. Languages
Furthermore, the elapsed time evaluating an expression (even one with no other apparent side effects), is sometimes essential to the correct operation of a system, as behaviour in time is easily visible from outside the evaluation environment by other parts of the system with which it interacts, and might even be regarded as the ''primary'' effect such as when performing [[Benchmark (computing)|benchmark testing]].
|