Keep Your Comments To Yourself

I’ve been writing code for well over 30 years now. In 30 years of coding, I learned my code has to make sense to me long after I’ve written it. Later on, I started working on code shared with others. My code had to make sense to them, too. When code got really complicated, IContinue reading “Keep Your Comments To Yourself”

What Else?

As software developers, one tool at our disposal, in almost any language, is a switch expression. It comes in many forms: switch, case, when… They are all fundamentally the same. Given a value of an enumerated type, it defines the code behavior for each such possible value. In Clean Code, Uncle Bob suggests we makeContinue reading “What Else?”