3 ms·
No, you could wrap the whole function body in an if (!base_case) { // one more indentation level! ... } if you adhered to the belief
by fhars 5y ago
No, you could wrap the whole function body in an
if (!base_case) {
// one more indentation level!
...
}
if you adhered to the belief that early returns decrease readability.