Why side-effecting is not all bad

The Eric Normand Podcast - A podcast by Eric Normand

Categories:

We run our software for its effects, so effects are necessary. We can’t write 100% pure code. But I contend that some effecting code is better than others. In other words, there is a spectrum from bad effecting code to good effecting code. Even if you can’t turn an action completely into a calculation, you should still strive to minimize implicit inputs and outputs.