Design Patterns · Junior · Question 71 of 75

What does it mean that an operation is idempotent?

Explanation

Idempotent operations are safe to retry after timeouts. "Add 1" isn't idempotent; "set to 5" is.

Further reading

Problem with a question

Design Patterns · Junior · question 71

Test yourself

Take the Design Patterns · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz