Refactoring: Guard Clauses
In computer programming, a guard is a boolean expression that must evaluate to true if the program execution is to continue in the branch in question.
Tags: refactoring, cleancode, beginners