Code Smell 209 - Side Effects
TL;DR: Avoid side effects on your code.
Problems
Coupling
Least Astonishment Principle violation
Solutions
Favor referential transparency
Context
Referential transparency always produces the same output for a given input and does not have any ...
maximilianocontieri.com2 min read