“polymorphism” Posts

Refactoring a switch statement

In which I chronicle the many ways to refactor a switch statement. And by many I mean two