News for hackers. Stuff that matters.
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22 by petee on Saturday January 01, 2022 @12:47PM (#29760728)
I'm curious which languages you learned in CS101 (actual question, not snark)

Every non-number, as you put it, is just a number to a computer. Comparing binary is faster than sorting strings, and it makes zero sense to waste memory simply so a human could potentially read it.

Re:Microsoft Exchange stops passing mail due to bug on 1/1/22 by jraph on Saturday January 01, 2022 @01:22PM (#29761050)
But versions are for human beings.

Otherwise, a timestamp, a date, a commit hash or an increment would do.

Re:Microsoft Exchange stops passing mail due to bug on 1/1/22 by petee on Saturday January 01, 2022 @01:33PM (#29761161)
That's not true, they can be for either humans, computers, or both. Software still has to understand and do something with that version number, even if it came from a human. And if it has to store, sort, or process that number a lot, it will still be faster to store and compare binary than a string.

For comparison, I think some here would be shocked to learn their IPv4 address is stored as an unsigned 32-bit integer. Its not a number, and definitely not faster to use as a string.