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.
Glossary: Refactoring and Clean Code
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.