this example reminds me that there needs to be some good clarification of the sequence of operations - not in a mathematical sense, but in a form loads and these things happen in this order, because if we’re going to use that sum in some other calculation - let’s say computing sales tax, or delivery, or whatever, we want those follow-on operations to happen after the total is calculated. if that means that our ES needs a private attribute for the total, we probably still want to ensure that it only is computed once for the ES, and then read by all the other functions that use it.
maybe i’m just stuck on qodly being low-code, and the lack of control i have over things like sequence in this environment.