3 ms·
The historical preference of < over > seems to be widespread in programming languages, here's a credible sounding explanation of the origins: https://stackoverf
by fulafel 6y ago
The historical preference of < over > seems to be widespread in programming languages, here's a credible sounding explanation of the origins: https://stackoverflow.com/a/12146965 https://stackoverflow.com/a/12146965
- mehrdadn 6y agoRegardless of the origins, < is just a more natural operation than >. I kind of mean that both figuratively and literally: the most "natural" numbers are the "natural numbers", which follow 1 < 2 < 3... and not 1 > 2 > 3...
- fulafel 6y agoI see what you mean. But if we consider endianness and reading direction arbitrary conventions does it still hold? Maybe it does, since in your latter example the reading direction is inverted in any case and endianness applies only intra-number.
- mehrdadn 6y agoYeah, I was just talking about the mathematical less-than operator. How we choose to represent anything computationally or visually is orthogonal to it.