4 ms·
I'm really quite sure they were referring to the type of code in your comment. Early return on error (as in, what you posted) vs single return with deeply neste
by quietbritishjim 7y ago
I'm really quite sure they were referring to the type of code in your comment. Early return on error (as in, what you posted) vs single return with deeply nested if statements is an absolutely classic coding debate.
- afiori 7y agojust as a quick clarification, I am not the OP
- quietbritishjim 7y agoOops, I did indeed miss that. I suppose that shows that it was helpful to spell it out.