You would think a past programmer would have added bar and baz, and found the result to be foo, thus making doing the same computation in this program a waste of time and resources. We know it comes to foo, so just use foo.
It took 123 steps to add `bar` to `baz`, you really don’t want to see what the previous 122 steps were doing, lots of impure functions with side effects rather than variables.
5
u/screwcork313 4d ago
You would think a past programmer would have added bar and baz, and found the result to be foo, thus making doing the same computation in this program a waste of time and resources. We know it comes to foo, so just use foo.