re: Explain idempotency (in REST) like I'm Five VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The 5-year-old explanation could be: You can go to your parents and ask the same thing, in the same way, any number of times. If nothing else cha...
 

Very nice metaphor. Perhaps a small addition: You can go to your parents and ask the same thing, in the same way, any number of times. If you’re sure they were listening at least once, then you can be sure that they will take care of whatever it is you asked.

Notably, the same might also be true for non-idempotent verbs; the difference is that there you don’t have the guarantee that it will always behave idempotently.

code of conduct - report abuse