2 ms·
But even then, the logic depends on the contents of the string. If you need a country (as a string) and you get a number, you know something is wrong. If you n
by gavinhoward 3y ago
But even then, the logic depends on the contents of the string. If you need a country (as a string) and you get a number, you know something is wrong.
If you need a country code and you get a Boolean, chances are you got Norway, but by having strict typing, you don't run into that ambiguity.