r/ProgrammerHumor • • Mar 03 '25 • Helpful 1

Meme ifYouDidntKnow

Post image
56.7k Upvotes

432 comments sorted by

View all comments

Show parent comments

2.5k

u/Mallissin Mar 03 '25

I think this is actually a pretty reasonable system and I 1.0.000% support you.

455

u/Altruistic-Spend-896 Mar 03 '25

wait this is how i use SemVer, wasnt this how it was supposed to be used?

650

u/trainrex Mar 03 '25

In case serious. It's MAJOR.MINOR.BUG

Bug versions are for bug fixes Minor versions are for non-api breaking changes (new functions, logic changes that allow for functions to be called the same way, etc...) Major versions are for API breaking changes (complete reworks of function namings)

186

u/Altruistic-Spend-896 Mar 03 '25

I am joking, but thank you kind stranger on the interwebs!

196

u/trainrex Mar 03 '25

Never know who might be part of today's 10,000!

113

u/Coal_Morgan Mar 03 '25

That would be me.

I had a general understanding of what was happening but never really made the MAJOR.MINOR.BUG association. Probably something I could have figured out but just never had my noodle aimed at 'naming' it.

Stellaris is at 3.14.14 right now and is making the big jump to 4.0.0 in Q2 this year. So my mind made the "EW A WHOLE LOTTA STUFF THIS TIME!" rather then the "3.15 Hope I get this quality of life improvement" or "3.14.15...Prolly some fixes for something I haven't run into yet."

60

u/FlakyTest8191 Mar 03 '25

The important one is the major, because you have to be prepared for your code breaking when you update. At least with an api or framework you use,  a game only if you're into modding i guess.

5

u/WashedSylvi Mar 03 '25

Some of the online games do use API stuff too

5

u/DragonDev1906 Mar 03 '25

With modding games it is sometimes WefeelLikeWeWantALargerNumber.NewStuff.BreakingChangeToSimpleThingsInModdingApiWithoutAnyReleaseNotes

If only they could use a second server scheme for the things where breaking changes are Relevant. Or at the very least patch notes that mention them.

20

u/Cheet4h Mar 03 '25

SemVer doesn't really apply to applications like games, since they don't typically have an API (other than a potential modding API) that breaks compatability. You could instead go for savegame compatability, but in some games (Stellaris included) they often break even among minor version updates.
Besides, SemVer isn't really the ultimative standard when it comes to game versioning. See the plentiful MMOs that release version 1.1 -> 1.15 -> 1.2 instead of 1.1 -> 1.1.5 -> 1.2

Personally I'm a fan of either a more verbose versioning (e.g. "Update X [Hotfix Y]") or build number.

4

u/PrincessRTFM Mar 03 '25

You might want to look at https://semver.org/ then, it made things pretty clear for me

3

u/dretland Mar 03 '25

Pi patch

→ More replies (2)
→ More replies (5)

58

u/ParkingAnxious2811 Mar 03 '25

In America they do it as MINOR.MAJOR.BUG

→ More replies (5)

25

u/georgeofjungle3 Mar 03 '25

I worked a project where we had to add a fourth number, because people where getting into a panic about how often we were changing the major version. So version 1.2.3.4 was: 1.x.x.x was if all you did was install and configure, we've possibly done something that broke your config, take a look. X.2.x.x was if you did any programmatic extension, look to make sure we didn't change the apis you were using. X.x.3.x, hooray new features. X.x.x.4, we screwed something up, this fixes it. 

16

u/Tetha Mar 03 '25

Some of our internal libraries follow semver pretty strictly. People certainly take a double-take if that library has a version of 11.2.9 or something with a high major version like that.

Though a lot of these major changes are cleanup at this point - removal of redundant functions, renames of old mistakes everyone disliked and such (or, rather, removal of the compatibility layer during the rename) and such. Oftentimes, the deprecation notice/upgrade guide is "inline this one layer".

4

u/nicuramar Mar 03 '25

11 isn’t really a high major version number, if you look at some libraries out there. 

2

u/ToaruBaka Mar 03 '25

Pride&Semver

10

u/Vox___Rationis Mar 03 '25

If you are a corporate entity 'MAJOR' may also mean 'IT IS A NEW FISCAL AND WE NEED A NEW VERSION OF OUR PRODUCT TO SELL SO PRESENT ALL THE MINOR UPDATES AND PATCHES SO FAR AS THE NEW MAJOR VERSION'

5

u/al-mongus-bin-susar Mar 03 '25

yeah but this is only for libraries for applications it's the post

→ More replies (8)

10

u/mr_remy Mar 03 '25

I null support you as well

3

u/Normal_Cut8368 Mar 03 '25

My agreement on this naming scheme is 2.0.12

1

u/MaximRq Mar 03 '25

Glad you are proud of every single one of your releases

1

u/DiddlyDumb Mar 03 '25

That’s so much better than the 0.0.736% I’m always stuck at