4 ms·
> both of which would reverse if my first wish is also granted But why? The brilliance of 8601/3339 is that string sorting is also correct datetime sorting.
by creshal 1y ago
> both of which would reverse if my first wish is also granted
But why? The brilliance of 8601/3339 is that string sorting is also correct datetime sorting.
- goku12 1y ago> But why? To get the little-endian ordering. The place values of digits increase from left to right - in the same direction as how we write literature (assuming LTR scripts), allowing us to do arithmetic operations (addition, multiplication, etc) in the same direction. > The brilliance of 8601/3339 is that string sorting is also correct datetime sorting. I hadn't thought about that. But it does reveal something interesting. In literature, we assign the highest significance to the left-most (first) letter - in the direction opposite to how we write. This needs a bit more contemplation.
- 1718627440 1y ago> we assign the highest significance to the left-most (first) letter Yes, we do that with everything, which is why little-endian numbers would be really inconsistent for humans.