3 ms·
> not just with side effects I think you're using "side effects" in a colloquial sense while I'm using it in a PL sense. Pure code is deterministic, operating
by bhickey 4y ago
> not just with side effects
I think you're using "side effects" in a colloquial sense while I'm using it in a PL sense.
Pure code is deterministic, operating only on its params. Impure code—code with side effects—is something that depends on state outside of its parameters.