3 ms·
Too complicated. Here is a better chronological versioning: 1, 2, 3, 4, ... Given two versions j and k, those being integers if j > k, then j is chronologicall
by kazinator 7y ago
Too complicated. Here is a better chronological versioning: 1, 2, 3, 4, ...
Given two versions j and k, those being integers if j > k, then j is chronologically later than k.
That's what I use on the TXR project.
That being at version 230 means I made 230 releases since the project started in 2009.
Since that number "means" something, it has semantics; therefore, it is not only chronological but also semantic.
- jacquesm 7y agoTotally agreed. This is seriously overthought. Users need to be able to tell in an eyeblink what the order is without reference to some standards document. Presumably everybody to whom it applies can count.
- true_religion 7y agoFor a web app under continuous release, I would suggest doing both. 230-12-01-2020 to mean the 230th release since the start of the project, made on January 1st, 2020.
- oneeyedpigeon 7y agoWhy not 230-2020-12-01 to avoid the awkward 'US order or 'most-of-the-rest-of-the-world order' issue? Edit: the great irony is that your example included an error which I then reproduced! Obviously, 1st jan is unambiguously: 230-2020-01-01 If you were representing 1st dec, though, I’d suggest: 230-2020-12-01
- true_religion 7y agoActually I was trying to avoid the US date standard myself, then got confused and wrote a date that follows no standard that I know of. My mistake entirely.
- BuildTheRobots 7y ago230-12-01-2020 to mean the 230th release since the start of the project, made on January 1st, 2020. Surely this is either released on the first of December or the 12th of January?
- de_watcher 7y agoThat's just US date trolling.
- coldcode 7y agoWhile versioning for libraries is important, and one could argue about different ways, app versions (ie mobile or desktop) with anything other than whole integers is dumb. Our mobile apps have versions like X.Y.Z and X changes at random times for no reason, and in general in mobile you never see the version anyway, and with auto updating on customers don't even notice.