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.
Glossary: Refactoring and Clean Code
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.