Difference between revisions of "Short-circuiting"
Jump to navigation
Jump to search
(relation to lazy evaluation) |
(No difference)
|
Latest revision as of 07:43, 24 January 2008
The term short-circuiting is used for avoiding the computation of results that are not needed anyway.
E.g. in False && a
the second operand needs not to be evaluated because the result is False
in any case.
So short-circuiting is somehow a synonym to lazy evaluation.