Isolate side-effects from the rest of your program logic. That means don’t mix logic with I/O (including network I/O, rendering UI, logging, etc…).
Mocking is a Code Smell
Eric Elliott

Totally agree with you! Though, that’s incredibly difficult to achieve.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.