Abhinav Dhasmana
1 min readAug 23, 2018

--

Hi Andre Biel, Thank you for leaving an informative comment. Yeah, we could have created enum as well. However, testing this would be slightly more involved. Moreover adding new offers would make this enum quickly get out of hand.

Let me know what you think!!

Happy learning

--

--

Abhinav Dhasmana
Abhinav Dhasmana

Written by Abhinav Dhasmana

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

No responses yet