side effects

A side effect, in the context of computing, is some observable effect a function or program creates other than returning a value. Put another way, any time a function modifies some state outside its local context, it can be said to be side-effecting.

Examples

  • Modifying a database
  • Writing a file
  • Reading an environment variable