News for hackers. Stuff that matters.
Re:Guidelines for writing readable code by aw1621107 on Friday September 14, 2018 @09:05AM (#17986886)
> the following lines could assume any combinations of those conditions.

Do you mind expanding a bit more on this? From what I understand, if you have early returns the only way you can get into the rest of the function is if all of the conditions pass, not any arbitrary combination of them.

Also, do you have an example of a more complex function with early functions that you find difficult to read?

There are no comments on this comment yet.