I have to totally agree with @genspirit
up here. Even I always prefer Map, dicts against switch statements. I have updated the article accordingly. Do give a look and let me know.
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.