Defensive & offensive programming
Defensive programming helps with uptime and reliability. Offensive programming helps you find bugs. They're both extremely useful in software.

Search for a command to run...
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.

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.

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 with your error checking do your error checking first handle errors at the earliest appropriate place...

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 particularly important with bugs. You need to: know that they occurred have useful information about them so...

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 minimum of silently ignoring bugs and maybe recording that they occurred. However, this is an importan...

https://www.youtube.com/watch?v=MsqQCfq5xNY Programming principles tell us that naming in code is important. This article aims to be a complete learner's guide for naming in code. It also aims to be a reference about naming that you can refer to in t...

In this post we'll look at how to make a simple carousel with HTML, CSS and JavaScript. We will use good code practices, keep accessibility in mind and also consider how we can test the carousel. The carousel will be a "moving carousel". Slides will ...

This article is the beginner's introductory guide to programming principles. First we're going to examine what good code is. The qualities of good code. That's because those qualities come before programming principles. Programming principles are jus...
