Skip to content

Glossary: Refactoring and Clean Code

Split loop / split phase

Also written: split loop, split phase

Split loop gives each job in a loop its own loop. Split phase breaks a function into stages, such as parse, compute and format, that each pass a result to the next.

Where the book teaches it

Related terms

Pure functionExtract function / variable