Skip to content

Glossary: Refactoring and Clean Code

Lookup table

Also written: table of data, DELIVERY table

A dict that maps each case to its settings, replacing branches that differ only in data. The `DELIVERY` dict holds each city's free-from amount and fee.

Where the book teaches it

Related terms

dict.getParameterize