3 ms·
Maybe the exception to this is recursion? You must have early return statements for the base case
by esrh 5y ago
Maybe the exception to this is recursion? You must have early return statements for the base case
- fhars 5y agoNo, 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.