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.
It is true that
2.0.1.0 > 2.0.1in 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 to0.If after
2.0.1you release2.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.1example which could give the idea that such versioning is good practice.