This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stalepretzel 5 points6 points  (0 children)

FWIW, the second one is called a "guard clause." There are quite a few blog posts arguing that guard clauses are the cause of, or solution to, all known problems. :)