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.
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.