Return early and clearly—Arne Mertz

Save to:
Instapaper Pocket Readability

How to return well:

Return early and clearly

by Arne Mertz

From the article:

There are different guidelines out there about where and how many return statements to use in a function, e.g. return only once at the end of the function or return early and often. Which one makes for the most readable code?

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.