Replacing Type Code With State/Strategy
Previously, we talked about potential issues switch-case can cause, and what to do when the type...
Tags: programming, refactoring, switchcase, designpatterns