Skip to content

Glossary: Refactoring and Clean Code

Parameterize

Also written: parameterise, parameterizing

Turn near-identical copies into one function by making the value that differs a parameter. `bags_of(rows, sku)` replaced separate espresso and decaf functions.

Where the book teaches it

Related terms

DRY (Don't Repeat Yourself)Lookup table