Clean code
Checked exceptions
Checked exceptions propagate similar to error values. However, they're more disliked than error values. Find out why in this post.
Read more »How to use error values in an exception-based language
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?
Read more »Look before you leap vs easier to ask for forgiveness rather than permission
Conditionals vs try / catch. A long-standing debate in programming is LBYL vs EAFP. Which should you use and why?
Read more »Clean code & programming principles
The entrypoint article for clean code. We cover many essential topics such as programming principles, error handling, naming and much more.
Read more »Errors & error handling
The entrypoint article for error handling. We cover everything from how to respond to errors, to error catching best practices, and much more.
Read more »Control flow for invalid actions – Conditionals, try/catch and Booleans
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.
Read more »Nulls and null checks – How to work safely with nulls in any codebase
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.
Read more »Defensive & offensive programming
Defensive programming helps with uptime and reliability. Offensive programming helps you find bugs. They're both extremely useful in software.
Read more »Exceptions vs error values
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.
Read more »Best practices for error catching and handling
When catching and handling errors, you need to keep some best practices in mind. Some are essential for correct programs.
Read more »Error recording – How to record errors in your application to debug later
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.
Read more »Errors and non-errors (terminology)
In the error handling series we mention the term "error" a lot. We mean it in the generic sense, not strictly for "bugs". Read more for details.
Read more »How to respond to errors – Crashing, ignoring, recovering and their use cases
What should a program should do when it encounters an error? It depends on the error, the program and the user experience.
Read more »Naming (in code) – The ultimate guide and reference
This article is the complete guide and reference for naming in code. Learn how to write good names and about common naming conventions in code.
Read more »How to write clean code units (functions and methods)
Learn how to create small, specific code units (functions and methods) that are easy for you to work with.
Read more »Requirements of software
What are the requirements of software and why do they matter? Knowing them helps you write better code. It also helps you apply programming principles better.
Read more »Clean code & programming principles – The ultimate beginner’s guide
Programming principles are necessary. Applying them properly helps you create good software. This article is a thorough introduction to programming principles for beginners.
Read more »
















