4 ms·
Except 1.0.1 can fix a bug that one piece of code needs, while another piece of code can be happily bug dependent upon it. You can scream at the developers tha
by lamontcg 5y ago
Except 1.0.1 can fix a bug that one piece of code needs, while another piece of code can be happily bug dependent upon it.
You can scream at the developers that they've violated semver but a "bugfix" is entirely subjective (relevant xkcd, spacebar heating, etc).
And even when developers violate semver in a point release the problem still exists. They actually rarely, if ever, rollback with a 1.0.2 that is equivalent to 1.0.0 and instead usually move forwards.
And if you have a language that supports loading 1.0 and 1.1 then there's no point in being artificially constrained over which two versions can be loaded at the same time based on the label, the underlying framework shouldn't be built to care. There's no need for a multi-version library loader to care about what a bugfix is.
- slver 5y agoSemVer remains a pragmatic approach that works in vast amount of cases. It’s unclear what alternative we have here which works in more cases.
- lamontcg 5y agoWe don't have any better alternative, but lets not be naive about it when it comes to building bits of framework. Semver would just be an artificial impediment at this level.
- slver 5y agoSemVer is an impediment only if you insist to make it so.
- jonahx 5y agoGo takes an alternative approach: https://www.youtube.com/watch?v=wWApoImHuf8 https://www.youtube.com/watch?v=wWApoImHuf8
- deleted 5y ago[deleted]
- slver 5y agoThat's not a new idea, I also put the version in my package name, so that you can use v1.x with v2.x etc. It doesn't contradict SemVer. However when you do that, it becomes a big deal to jump from one version to another even if the breaks are minor. So pros and cons.
- uncomputation 5y ago(Mentioned xkcd: https://xkcd.com/1172/ https://xkcd.com/1172/)