2 ms·
In the above example I tend to agree with you, but I'd definitely prefer early return over multiple levels of nested if statements unless all of the nested stat
by usefulcat 7y ago
In the above example I tend to agree with you, but I'd definitely prefer early return over multiple levels of nested if statements unless all of the nested statements are quite small.