← Back to context

Comment by vendiddy

1 year ago

There are a lot of comments saying that we can't avoid mutable state and dismiss this paper entirely.

I find a practical interpretation of this paper is:

- Favor pure functions over impure functions

- Reduce mutable state and be deliberate about where those mutations have to happen

- Prefer derived state over keeping state in sync

There are always exceptions. Use your judgment on when this simplifies code and when it doesn't.