Anup Cowkur
1 min readFeb 20, 2017

--

Vinay Shenoy Idempotency is not the same thing as purity. An idempotent function can have idempotent side effects. For example, if a function writes to a file, it’s idempotent because it writes the given input to the same file every time. It’s not pure however, since it has the side effect of changing the state of the world.

--

--

Responses (1)