News for hackers. Stuff that matters.
Re:Khan Academy's React style guide by straws on Wednesday October 21, 2015 @09:59AM (#10425428)
Not to mention idempotent code is trivially memoized, allowing you to skip computations you couldn't previously reason about. A function that produces a value is always comparable to another value — a function that modifies some state requires that you have a way to observe that the world changed in order to skip doing it again.

There are no comments on this comment yet.