by plainOldText · 6y ago · 0 comments
Imagine researching some libraries and having to decide over which one to use, say LibA v2020.01.06 vs LibB 2019.12.31. These versions tell you nothing about the projects except their release dates.
On the other hand, semantic versioning (when not abused) – say LibA v3.0.1 vs LibB 1.0.0 – reveals something useful, such as, that LibA has undergone three major revisions, so perhaps it is much more mature than LibB.
Perhaps the calendar versioning works well with already mature and famous projects – e.g. Ubuntu 18.04, etc – but for smaller projects I don't think it's such a good idea.
Comment v1.0.4-20jan06
can't answer one and the other consistently.
it's great for compatibility level, and that's that.
- Number of commits.
- Number of open issues.
- Number of closed issues.
- How they respond to issues.
- Are the commit messages descriptive?
- Is the codebase a mess or does it look reasonable?
It can also mean that LibA messed up their API design twice and had to break BC twice while LibB worked diligently to provide a design that nailed it at first try or spent years in 0.XX territory and only called it stable when they were certain it's stable.
I don't consider SemVer useful to compare the maturity of software components. It's not a statement about that. It's useful to get a grip on how hard it's likely to be to go from one version to the next one.
edit: I'm also a huge fan because unlike semver it can be easily generated in a CD pipeline.
- it is poorly maintained
- the authors are being lazy
- it's some kind of unofficial patch or build
- marketing has taken over
- nostalgia (for Windows 95?) or imitating turn of the century project marketing
I don't think there's a good reason to ever deviate from the simple [$MAJOR_CHANGES].[$NEW_FEATURES].[$PATCH]. I don't even think it needs to be formally specified (looking at you SemVer). Simple 3-tuple versioning is almost universally understood. Why fix what isn't broken?