Skip to content

Glossary: Refactoring and Clean Code

Side effect

Also written: side effects

Anything a function does besides returning a value, such as printing, writing a file or changing a global. Keep these at the edge of the program.

Where the book teaches it

Related terms

Pure function