Defensive programming helps with uptime and reliability. Offensive programming helps you find bugs. They're both extremely useful in software. ·...
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. · An...
Exceptions vs error values has been a debate in error handling for decades. In this article we'll examine the pros and cons of each. · Exceptions vs...
Catching and handling errors is an important part of error handling. Here are some best practices for it. Generally, it's good to: be very thorough...
Recording errors is an important part of error handling. In short, when certain errors occur in programs, you want to know about it. This is...
What should a program do when it encounters errors? In my experience, a lot of programs hardly give any thought to this. Usually it's just the bare...