4 ms·
Well there’s a joke somewhere. Less has my favorite version numbering system. Sequential. Latest stable release: Version 598 https://www.greenwoodsoftware.co
by jonathankoren 5y ago
Well there’s a joke somewhere.
Less has my favorite version numbering system. Sequential.
Latest stable release: Version 598
https://www.greenwoodsoftware.com/less/ https://www.greenwoodsoftware.com/less/
- meowface 5y agoMy favorite has become just making the version number the release date.
- ViViDboarder 5y agoSee CalVer. The date is definitely helpful for something with fairly stable APIs where breaking changes aren’t really happening. Perfect for things like Ubuntu, pytz, and ca-certificates. Less for something like a library who’s API could change and break your implementation.
- eru 5y agoCalVer is useful for Ubuntu. But not because it's stable, just the opposite: It's useful for Ubuntu, because each Ubuntu release is a hodgepodge of lots of unrelated updates. Some will be breaking, some will be fine.
- ljm 5y agoAlso for systems relying on continuous delivery in some form, like websites and web apps and SaaS. Because as a user you don't actually have a choice to use an update or stay on an old one. Considering most places I've worked at just bump the minor number in perpetuity, a date-based version conveys a bit more info. Also so much easier to know when it's going out if you have a release cycle (e.g. you don't have to guess what date 3.12354.0 is going to prod, you would know it already from a version like 2021.12.25).
- abendstolz 5y agoFor binaries, I agree. For libs, I prefer semver
- klyrs 5y agoNot the git hashcode?
- ljm 5y agoSemver and calver are sequential, so you can easily sort them and compare versions in terms of age. So you would know that jumping from 1.8 to 3.0 for example could be quite large. You can't do the same with git commit hashes because you can't sort them based on the hash alone. I have no idea how to compare deadbeef and cafebabe without checking the code itself.
- Dylan16807 5y ago"Tell the user nothing" is your favorite system? Especially, like, what if you release a bugfix for a significantly old version? Do you give it an up-to-date number? Do you not give it a number at all? (Also I see a 581.2 on that page.)
- jonathankoren 5y agoUpgrade
- Dylan16807 5y ago> Upgrade Upgrading is the problem in this scenario. Let's say 727 is the modern version. If users upgrade to 728, when 728 is based on 402, we have an issue.
- jonathankoren 5y ago> we have an issue. No, we don’t.
- Dylan16807 5y agoIt's hard to say much when your replies are so short, but let me try to elaborate. If a user that was happily using version 727 is now on a version that's almost identical to 402, they're now missing 300 versions' worth of code changes. You don't see how that's an issue? What if they were using functionality from that? Upgrading to 728 has removed all this code they were depending on! If everyone follows your advice to upgrade, then everyone has this problem. Including you, unless you ignore your own advice.
- deleted 5y ago[deleted]
- jonathankoren 5y ago>If a user that was happily using version 727 is now on a version that's almost identical to 402 lol. That’s not how this works.
- deleted 5y ago[deleted]