30 ms·
> So yeh, why only one return !? Because it was a good idea in C. it's pretty much irrelevant to Java, JavaScript, C#, Ruby, Python, Rust etc. But the rules
by SideburnsOfDoom 9y ago
> So yeh, why only one return !?
Because it was a good idea in C.
it's pretty much irrelevant to Java, JavaScript, C#, Ruby, Python, Rust etc.
But the rules stay, for no good reason.