Thanks a lot for taking the time to read my article. It’s much appreciated!
I’m very happy to hear you liked it.
I think you’ll also find these to your liking. They all show how you can refactor if-else branching out of your code.
Creating Highly Configurable Code in Three Simple Steps
Hard-coded, unconfigurable code is headache-inducing. Here’s a step-by-step refactoring guide.