News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by arghwhat on Monday March 26, 2018 @09:16AM (#16678600)
I don't think the latter is legal in most (non-JS) languages if the return value of the outer function is void.

Even if it is, I definitely agree that it should only be done if you want to communicate that handleError's return value is meaningful and should bubble up.

There are no comments on this comment yet.