Category: Clean code
If you’re using error values, you probably want to avoid exceptions. But, how do you do that if you’re using an exception-based language?
Conditionals vs try / catch. A long-standing debate in programming is LBYL vs EAFP. Which should you use and why?
An important part of clean code is handling control flow. In this article, we’ll examine actions that may fail and need a check first.
Nulls and null checks have been a tricky problem in programming for decades. Thankfully, there are many solutions to make them easier to work with.
When errors occur in production, you want to know about it. You need some way of recording them, so you can view them and debug them later.