-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idempotent inaccurate #184
Comments
The aim of this glossary is not to be a dictionary of all possible uses of
each word but but to focus on functional programming meanings. Adding
definitions for other usage outside of that could confuse readers. In
particular, idempotent procedures focus on external effects which are
counter to functional programming goals so if we add anything about that it
should be as contrast
…On Tue, Jun 26, 2018, 5:16 PM Niclas Hedhman ***@***.***> wrote:
Although the provided explanation that "f(x) is idempotent, if and only if
f(x) == f(f(x))" is the original academic meaning, in industry jargon it
not the case. There, an idempotent call (function, procedure, rpc,...) is
one that can be repeated with the same inputs many times, returning the
same value and not causing any additional side effects (say, issue the
payment request many times).
I suggest that some wording of this is added.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#184>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAB-4ALrq_A8Xpv6ZK8HonX1ApDtb_qEks5uAs7dgaJpZM4U43mP>
.
|
Ok. Np. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Although the provided explanation that "f(x) is idempotent, if and only if f(x) == f(f(x))" is the original academic meaning, in industry jargon it not the case. There, an idempotent call (function, procedure, rpc,...) is one that can be repeated with the same inputs many times, returning the same value and not causing any additional side effects (say, issue the payment request many times).
I suggest that some wording of this is added.
The text was updated successfully, but these errors were encountered: