Love seeing these posts! I just recently used a switch in my code and didn't like the overall bulk the switch created. Nice ideas on how to clean it up!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.