Hi Justin Coulston.. we all are here to learn so no need to apologize. I understand what you are saying. Returning Strings is just to simplify the presentation. In practice there was more code and logic. Switch are equally difficult to control and read as if statements, IMO.

Really enjoyed the discussion with you and learnt few things.

Senior Staff Engineer @freshworks. Ex-McKinsey/Microsoft/Slideshare/SAP, Tech Enthusiast, Passionate about India. Opinions are mine

Love podcasts or audiobooks? Learn on the go with our new app.