Published inNerd For TechNulls and null checks — How to work safely with nulls in any codebaseNulls and null checks have been a tricky problem in programming for decades. Thankfully, there are many solutions to make them easier.Jul 26, 2021Jul 26, 2021
Published inLevel Up CodingDefensive & offensive programmingDefensive programming helps with uptime and reliability. Offensive programming helps you find bugs. They’re both extremely useful.Jul 26, 2021Jul 26, 2021
Published inNerd For TechExceptions vs error valuesExceptions vs error values has been a debate in error handling for decades. In this article we’ll examine the pros and cons of each.Jul 26, 2021Jul 26, 2021
Published inNerd For TechBest practices for error catching and handlingWhen catching and handling errors, you need to keep some best practices in mind. Some are essential for correct programs.Jul 26, 2021Jul 26, 2021
Error recording — How to record errors in your application to debug laterWhen 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.Jul 26, 2021Jul 26, 2021
How to respond to errors — Crashing, ignoring, recovering and their use casesWhat should a program should do when it encounters an error? It depends on the error, the program and the user experience.Jul 26, 2021Jul 26, 2021
Published inNerd For TechNaming (in code) — The ultimate guide and referenceProgramming principles tell us that naming in code is important. This article aims to be a complete learner’s guide for naming in code. It…Jun 15, 2021Jun 15, 2021
Published inNerd For TechCarousel slider tutorial with HTML, CSS and JavaScriptHere’s how to make a simple carousel slider with HTML, CSS and JavaScript. We use good code practices, make it accessible and discuss…May 27, 2021May 27, 2021
Challenge — Function that only runs with no arguments (intermediate / advanced functional…Here’s an intermediate / advanced functional programming challenge that I was asked in an interview for a high-level positionMar 14, 2021Mar 14, 2021
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.Mar 12, 2021Mar 12, 2021