Switch-Statements

Switch Statements

One new device, three silent bugs. Learn why the smell is the same switch repeated, how to replace it with a class per kind, and when an exhaustive switch is the right answer.

November 25, 20269 minutes