Quantcast WoWInterface - View Single Post - Minion cant count
View Single Post
10-20-15, 10:39 AM   #5
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 734
Originally Posted by rocnroll View Post
Fixable easily.
Please describe in 3 sentences the logic of version numbers so that a parser can "read" it as a compareable value.

You cant because there is no RFC for version numbers. Everyone can name them as they like.

1.60200
2.60200
3.60200
1.60400
2.60400

We as addon authors/users "see" that the last part is probably an indicator for the game version and the first value is simply a counter for versions per extension. We would load the last one to get the latest. A numeric compare would load the third. While this is just a bad example there are dozens of habits when it comes to version numbers that contradict each other. So its not easy for a parser to find really the latest.

Edit: Here some links
https://en.wikipedia.org/wiki/Software_versioning
http://semver.org/

I really like this from the first link:
TeX has an idiosyncratic version numbering system. Since version 3, updates have been indicated by adding an extra digit at the end, so that the version number asymptotically approaches π; this is a form of unary numbering – the version number is the number of digits. The current version is 3.14159265. This is a reflection of the fact that TeX is now very stable, and only minor updates are anticipated. TeX developer Donald Knuth has stated that the "absolutely final change (to be made after my death)" will be to change the version number to π, at which point all remaining bugs will become permanent features.
__________________
The cataclysm broke the world ... and the pandas could not fix it!

Last edited by Rilgamon : 10-20-15 at 10:54 AM.
  Reply With Quote