3 ms·
1 is a number, 01 is a string, 0.1 is a number, .01 is a string. I prefer explicitly marking strings. If I try to write a number, I want confidence that I'll
by Dylan16807 3y ago
1 is a number, 01 is a string, 0.1 is a number, .01 is a string.
I prefer explicitly marking strings. If I try to write a number, I want confidence that I'll get either a number or a parse error. (Though that doesn't necessarily mean quoting the string, other methods could work.)