Pure functions are idempotent.

Idempotent — Always producing identical output for identical input, even when called repeatedly.

Examples:

  • Changing a person’s address in a database.
  • HTTP GET, PUT, DELETE.