Skip to content

Glossary: Refactoring and Clean Code

Mixed jobs

Also written: mixed job

A smell where one function reads data, does the sums and prints all together. Split phase separates these jobs into read, compute and print functions.

Where the book teaches it

Related terms

Split loop / split phasePure function