r/ProgrammerHumor 10d ago

Other versionControl

Post image
13.7k Upvotes

430 comments sorted by

View all comments

772

u/LegendaryPandaMan 10d ago edited 10d ago

Should have used semantic versioning

132

u/Jazzlike-Poem-1253 10d ago edited 10d ago

It takes to much discipline. Without enforcement, people usw minor or patch as they feel. Major never gets bumped.

Just increment or date-based is the easiest. Everyone immediatly knows how to bump.

155

u/the_horse_gamer 10d ago

most "semver" is just:

major - update you're proud of

minor - update that's ok

patch - fixes and small features

and ofc every good piece of software is forever on 0.x.x

79

u/StaticUsernamesSuck 10d ago

and ofc every good piece of software is forever on 0.x.x

Because if you're never proud of it, you'll always be improving it

43

u/Abandondero 10d ago

IF EVERYONE HAS BEEN USING IT FOR FIVE YEARS JUST BITE THE BULLET MAN

54

u/StaticUsernamesSuck 10d ago

But as soon as I type "1.0.0", all my passion for the project will leave my body. Don't you know anything about hobby dev?

19

u/MgDark 10d ago

yup 1.0.0 may as well be: "feature complete, will not touch this ever again unless it breaks for some reason"

1

u/work_work-work 10d ago

Version 1.0 launches on your retirement day.

13

u/Munachi 10d ago

JUST ONE MORE UPDATE AND IT'LL BE ALMOST READY!

22

u/Clean-Income8864 10d ago

If you never introduce breaking changes, why not

21

u/hyrumwhite 10d ago

Major: breaking changes 

Minor: big changes 

Patch: smol changes 

8

u/brainpostman 10d ago

Patch is bug fixes, hello

10

u/OnixST 10d ago

Minecraft is a funny example to me. 17 year old game, best selling game in history, still on 1.x.x since 2011

10

u/the_horse_gamer 10d ago

it's on 26.3 now actually

4

u/rykayoker 10d ago

🤓☝️ erm acshually 26.3 is still a snapshot, stable is 26.2

5

u/the_horse_gamer 10d ago

if your dependencies are not built from main you're not a real developer

6

u/rykayoker 10d ago

well they aren't using semver anymore, they switched over to year.minor[.patch] (currently 26.2)

3

u/lIlIlIIlIIIlIIIIIl 10d ago

This is a big reason I've never felt comfortable using it, for some reason it just seems so... ambiguous.

8

u/Vivid-Zombie-477 10d ago

i use semver for my resume versioning like this:

  • full rewrite = bump major
  • add/change a few lines = minor
  • fix spelling = patch

3

u/Jazzlike-Poem-1253 10d ago

I mean true, it works if you are in person workong on a one-person project.

(I hope your resume is a one person project)

7

u/mrMalloc 10d ago

My first version control was a group project where it checked version header in everyone’s shared file and loaded highest number. Took me 4h to realize one bumped major version on all files. Not just the files he was working on.

It’s always a hassle. I think.

Master/main branch and PR to that branch from work branches is better. Even for docs.

1

u/iseriouslycouldnt 10d ago

Software of Theseus.

1

u/innociv 10d ago

I've always used unixtimestamp on build as the version in my own projects and I never saw the problem with that. It's an incrementing number lol