DEV Community

Discussion on: 1 small tip to improve your code readability

Collapse
alekseiberezkin profile image
Aleksei Berezkin

Oldstyle folks (like me 😀) remember this from Uncle's Bob “Refacroring” book. The technique is called “Replacing nested conditionals with guard clauses”