Hacker News new | ask | show | jobs
by conradludgate 37 days ago
There's no side effects in f here, so the statement does not apply
1 comments

Parent said

> State is in practice always subjected to side effects and concurrency.

There was never any claim or assumption regarding f. Maybe the way you interpreted it is what they meant, but it is not what was stated.

you are oversimplifying with your set variable example. the context is complex state management as with online purchases.