Re:Docker: Lightweight Linux containers for consistent devel...
by d23 on Tuesday May 20, 2014 @11:16AM
(#7772994)
Just a sidenote, but why do some software projects consider 0.11 higher than 0.7? I remember when jQuery did this it broke tons of plugins that used a simple numerical comparison to see if the version was high enough (which seems sensible enough to me).
[ Parent
| on HN ]
Re:Docker: Lightweight Linux containers for consistent devel...
by emddudley on Tuesday May 20, 2014 @12:39PM
(#7773521)
0.11 is higher than 0.7 because version numbers aren't decimal numbers. The 0 is the "major" version number and the 11 or 7 is the "minor" version number. Many projects follow the Semantic Versioning convention.
Re:Docker: Lightweight Linux containers for consistent devel...
by freehunter on Tuesday May 20, 2014 @11:19AM
(#7773009)
Because 11 is higher than 7. It's not version 0.1.1 or version "dot one one", it's version "dot eleven". Eleven is a bigger number than seven is.
Re:Docker: Lightweight Linux containers for consistent devel...
by tovmeod on Wednesday May 21, 2014 @04:21AM
(#7777145)
it's true, 11 > 7 but 0.11 < 0.7
Re:Docker: Lightweight Linux containers for consistent devel...
by freehunter on Wednesday May 21, 2014 @09:35AM
(#7778098)
Version numbers are not always decimal numbers.