Refactoring

 

Replace switches with polymorphism

Refactoring Replace switches with polymorphism

Polymorphism

By Tom Dane

Polymorphism

  • 356