Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Totally making FormData immutable would solve the problem! The thing was that I've never had to make a calculation with this amount of requirements and (honestly) were expecting someone that would tell me this idea, in general, was insane! Thank you very much, making the FormData immutable and passing it to each calculation is definitely the way to go. Do you think everything else makes sense? :) Thank you very much! Commented Mar 31, 2020 at 18:58
  • @HumbertoWoody: at least, it does not look unreasonable to me. Solving problems by decomposing a data flow into several steps, with uniform interfaces and uniform concepts for controlling and validating the steps is a praxis-proven programming model which I have applied by myself sucessfully in the past (to some degree), and which I have seen working well a few times in larger contexts. If all those features mentioned in your question are really required is something you have decide by yourself, that is nothing an outsider can tell you. Commented Mar 31, 2020 at 19:30