2 ms·
I mean strings are numbers if you want to be that reductive. The “on-disk” representation of the thing is independent of its real type and properties. So sure,
by Spivak 5y ago
I mean strings are numbers if you want to be that reductive. The “on-disk” representation of the thing is independent of its real type and properties.
So sure, store a date in an “integer” but if you try to treat it like one instead of a bitfield you’ve made an error and if your storage isn’t wide enough to hold all dates that’s gonna be a PITA later.