4 ms·
The thing to remember is that version numbers aren’t decimals. They’re two or three integers separated by periods. 11 is higher than 2.
by sjwright 7y ago
The thing to remember is that version numbers aren’t decimals. They’re two or three integers separated by periods.
11 is higher than 2.
- kleer001 7y agoHarumph. Then it should be padded with zeros. So, 4.002 and 4.011 /grumpy edit: nope, it's fine as is. my experience in frame numbers, dates, and so forth do not scale to releases
- wiml 7y agoDates are the same, though — 01.15.2018 is not a real number, it's a sequence of integers. (And in many places they're not even written in most-to-least or least-to-most significant order! …I guess that makes it a tuple, not a sequence.)
- golergka 7y agoBut why? You don't know how many decimals you'll need in advance - three digits isn't enough for Windows build number, for example.
- kinleyd 7y agoSome years ago I thought so too. Now I'm just used to it.
- wongarsu 7y ago4.0.0 (semver) and 4.0.0.0 (Windows) aren't valid numbers anyways; The confusion can only arise on X.Y version numbers. Just add a .0 at the end of those
- rimunroe 7y agoI don't know what the source of this convention is, but this is why I was taught that the version "1.2.3" should be read aloud as "one dot two dot three" instead of "one point two point three". The idea is that people--where I'm from at least--tend to read decimals as "point" and not "dot".
- sjwright 7y agoYes, sadly the proliferation of the "two point oh" meme has set society back on that front. (Had we the opportunity to start over, I would have proposed different punctuation for the delimiter to avoid natural confusion with decimals.)