-
I am constructing a system. Below is the brief code; @System test(Controller) begin
--- omitted lower parts----- My question is about the "alpha" in the code. The alpha is derived from a and b which are "preserve(parameter)". I wonder which one is close to the developer's intention and Cropbox's performance. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The choice between In such case, I'd recommend using Technically, |
Beta Was this translation helpful? Give feedback.
The choice between
preserve
andtrack
boils down to intended behaviors of the variable that is declared. Generally, the most ofpreserve
variables are used as parameters, but then there are still some less common cases where we want non-parameterpreserve
variables, e.g., automatically derived parameter or static assignment of external value. You can then create apreserve
variable with computational logic, buttrack
also should be able to do the same work as you mentioned.In such case, I'd recommend using
track
. There is a chance that its depending parameters later replaced by some dynamic variables after systems composition, leading to an unexpected logical error hard to be caught up.T…