4 ms·
Idempotent just means that you can do it as many times as you want (n) and the state will remain the same, for n >= 1.
by chrisrhoden 9y ago
Idempotent just means that you can do it as many times as you want (n) and the state will remain the same, for n >= 1.
- rusk 9y agoThe origin of my confusion is the definition of GET as idempotent. My understanding of this verb is it (should) cause no mutations. So the correct classification of GET is "safe".
- chrismorgan 9y agoSafe is a subset of idempotent. Idempotent means that one invocation has the same effect as more than one invocation. Safe means that zero invocations has the same effect as one or more invocations.
- rusk 9y agoYeah I understand how the categories work but the language was heretofire confusing