haskell / haskell/pvp

Remove the "2.0.1.0 > 2.0.1" example, or clarify that this is bad

Open
#36 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
40
Forks
24
PR merge metrics
No merged PRs in 30d

Description

It is true that `2.0.1.0 > 2.0.1` in the lexicographic ordering, because mathematically, a missing number at the end counts as _minus infinity_. However, in versioning practice, a missing number at the end defaults to `0`.

If after `2.0.1` you release `2.0.1.0`, it is either by accident, ignorance or spite, in order to confuse others; imo.

There is already a more fundamental discussion at #4, I raised this issue to at least remove or better comment the `2.0.1.0 > 2.0.1` example which could give the idea that such versioning is good practice.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.