Problems with Evaluation of Expressions
1. Uniform Evaluation Code Eager Evaluation Rule– For each operation node, first evaluate each of the operands, then apply the operation to the evaluated operands.The order of evaluations shouldn’t matter.In C:A + BC CB) --------- ProblemLazy Evaluation Rule– Never evaluate operands before applying the operation. Pass Share with your friends: