It's not a decimal number. It's a version number. If you add the implicit .0 back to the end of 0.14, it is easier to see. 0.14.0 is obviously not a decimal number.
14 > 13 > 9
Yeah, FWIW it's not a new problem and I'm not confused by this in general but I don't prefer it.
But I think we can all take a step back and see the ambiguity right?
Re:React 0.14 Release Candidate
by scrollaway on Thursday September 10, 2015 @02:19PM
(#10199633)
Is it really that unreasonable to say that the ambiguity is long gone when version numbers now commonly contain several points and often letters and dashes and what not?
Why developers can't understand that not all uses of numeric digits are meant to behave like numbers?
Time, as in 00:12 is not a number either, it wraps around in 11:59 (or 23:59 in 24 hour mode)
Re:React 0.14 Release Candidate
by scrollaway on Thursday September 10, 2015 @01:38PM
(#10199410)
14 > 13 > 9
"Math is pure crap"?
Well, fwiw, 0.9 > 0.14 > 0.13. Guess it depends on how you look at it.
Re:React 0.14 Release Candidate
by scrollaway on Thursday September 10, 2015 @02:17PM
(#10199615)
The "." in versions is not a decimal point. There's certainly no such number as 0.9.1.
I know. Which is why I said that it depends on how you look at it.
I guess this causes less brainhurt when your native language uses a different decimal separator.
If you sort lexographically or treat those as decimals, it becomes 14, 13, and 90.
This is a flawed interpretation, but perhaps what wyldfire was trying to demonstrate.
As other posters indicate it's not that simple IMO. Then again, we are off on a bit of a tangent -- just my guess, not KenanSulayman's actual reasoning.
I find this mechanism of versioning mildly irritating (but I wouldn't call it 'crap'). I recognize that it's popular and I just suss the convention from the history.
React 0.14 supercedes 0.13 but it is not superceded by 0.9.