News for hackers. Stuff that matters.
Re:A Theory of Software Architecture by justincredible on Wednesday October 28, 2020 @06:39PM (#24924982)
Idempotent means feeding the output back in as the input will result in the same output. It might require purity, but is conceptually distinct.

For example, boolean negation is a pure function as it depends only its input and has no side-effects, but it's not idempotent since: not(not(var)) != not(var)

There are no comments on this comment yet.