In an object model, it is perfectly valid to re-compute the total from the item lines.
在对象模型中,根据每个产品项重新计算总价格是完全合理的。
3
Spend extra time up front ensuring that the new production code starts off at 100% production quality, and don't try and save a few days by re-using the lines of code in the prototype.