Skip to content

Glossary: Refactoring and Clean Code

deep nesting

Also written: nesting, nested if

An `if` inside an `if` inside a loop, several levels deep, which is hard to follow. Guard clauses and extracted functions flatten it.

Where the book teaches it

Related terms

Guard clause