Comment by Olreich
12 days ago
At some point, you need to interact with something that looks like I/O or an external service. Not handling failures from them is a source of a lot of bugs.
Even if pushed to the periphery, how do you test the wrapper you built to hide these failures from the rest of your code base? If you don’t hide these failures in some wrapper, how do you test that your system handles them properly?
No comments yet
Contribute on Hacker News ↗