(Jun-09-2020, 04:57 PM)ruy Wrote: I guess I can see why you would say so. The first code is much more simple and straightforwardyes + I don't think performance benefit of not calculating every time would be worth it. Second proposal by @Yoriz is fair compromise, but still it's open to mishandling if
Vessel.previous_values
property is changed by mistake.EDIT: actually, yes, second proposal by @Yoriz is better compromise
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs