I am trying to understand if it is useful to use String
during programming, there is general notion in our group that using String
is bad practice and enum
is way to go but I am not able to find enough reasoning to give in my vote against String
and would appreciate any thoughts and example on the issue?
Update:
I should re-phrase my question to word like under what situation usage of String
is evil and what alternative dataType
you should be using for the same.