3 ms·
Deep nesting always bugs me too. It's so much cleaner and easier to understand (for me anyway) to identify the else case ahead of time and stop processing immed
by meritt 11y ago
Deep nesting always bugs me too. It's so much cleaner and easier to understand (for me anyway) to identify the else case ahead of time and stop processing immediately.
- melvinmt 11y agohttp://refactoring.com/catalog/replaceNestedConditionalWithGuardClauses.html http://refactoring.com/catalog/replaceNestedConditionalWithG...