I remember a fellow programmer had a name for the kind if statement that returns out of the method it’s in if it evaluates to true.
What’s that called, again? Like, a “conditional shield,” or something?
It’s very helpful for reducing conditional nesting.
I’ve heard “guard condition” to describe the check and “bail out [early]” to describe the action of returning before the main action.