5 ms·
Version numbers aren't decimals. If they were, versions like "1.0.1" wouldn't make any sense.
by profmonocle 10y ago
Version numbers aren't decimals. If they were, versions like "1.0.1" wouldn't make any sense.
- dragonwriter 10y ago> Version numbers aren't decimals. Using groups of numerals separated by decimal points to communicate this not-decimal nature is, however, a potentially very confusing overloading of notation (and, actually, while most version numbers using notation that looks like that now don't have decimal number semantics, that's not historically universally true; version numbers that were -- at least to the extent of comparing as -- decimals were actually quite common in the past.)
- Jtsummers 10y agoAnd still are in some contexts, but that creates its own confusion. Developers reserved 2 digits for the minor revision. So what happens at 1.99 when they realize they don't want to go to 2.00 (perhaps 1.99 was a bug fix for the legacy system and 2.xx is already out there). If you want to use a decimal-imitative notation, do like Knuth and have your system's version number converge to Pi or e or some other constant.