Hacker News new | ask | show | jobs
by TheCoelacanth 2005 days ago
Pureness also makes it easier to remove calls to a function. If f is a pure function, then I know that if x, y or z doesn't change, then I never need to call f(x, y, z) again.