Single-Letter Identifiers in Loops

I recently developed a practice of using single-letter identifier names in code I write. This practice is quite contrary to my principle for writing clean code. I aim to make readers understand the code I write without thinking too hard. However, I have two points of view to support this practice. identifier is the generic term for variable names and names of constants. I use the term identifier and not variable name because identifier encompasses variable names and constant names....

March 24, 2024 · 1 min · Orim Dominic Adah

A Guide to Interfaces in Programming for Beginners

What is an Interface? An interface is a component that another component can interact with to perform one or more operations. Most beginners in programming encounter the term interface when they dive into object-oriented programming or clean code principles like SOLID. This article will help you understand what an interface is, irrespective of the programming language that you use. It will also cover the concept of programming to an interface, not an implementation....

November 25, 2023 · 5 min · Orim Dominic Adah