Guard Clauses are one of my favorite little tricks that allow simplifying code. A guard clause is an if statement…
Several tricks and heuristics that I apply to write easy to understand functions keep coming up when I look at…
Several tricks and heuristics that I apply to write easy to understand functions keep coming up when I look at…
DRY, standing for Don’t Repeat Yourself, is a well-known design principle in the software development world. It is not uncommon…