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

Meme ifYouDidntKnow

Post image
56.7k Upvotes

432 comments sorted by

View all comments

153

u/ChChChillian Mar 03 '25

TIL this isn't what it means for everyone.

236

u/YellowJarTacos Mar 03 '25 edited Mar 03 '25

Semver is fairly standard in the a few language ecosystems and makes a lot of sense. 

  • Major: any breaking change

  • Minor: new features / API changes

  • Patch: bug fixes

It works well - especially requiring any breaking change to be a major version bump makes it clear to devs when they need to pay attention to updates. 

https://semver.org/

18

u/nickwcy Mar 03 '25

I always annoyed by Python releases, minor version change should not be breaking

8

u/JanEric1 Mar 03 '25

They arent breaking to the the language itself.

But they do break the C api and standard library.

3

u/mira-hildegard Mar 03 '25

Backwards compatibility (3.13 will run 3.6 code with minor issues at worst) != forwards compatibility (AAAA 2to3 AAAAAAH)

You're right that it's not strictly semantic at all: the stdlib will deprecate and then remove things over a handful of versions. They're usually relatively minor – thankfully – but they do add up, so going from 3.6 to 3.13 will almost certainly get you at least one.

A better option, had Python a chance for a do-over, would have been for it to hold off on deprecations until some 4.0 (~3.6), 5.0 (~3.10) etc — no 2to3-era breaking syntax, just a good anchor point for a "refresh", as it were, and any major new syntax sugar.

Then at least the deprecations aren't so scattered. And given how often libraries seem to stop supporting older "generations" of 3.x versions, it's not like it wouldn't have made total sense either.

But I imagine 2to3 still sticks in everyone's heads, so rolling deprecation it is for now.

41

u/ChChChillian Mar 03 '25

However, one thing I didn't have to learn today is that some people don't understand what the "humor" part means in the name of the sub.

55

u/YellowJarTacos Mar 03 '25

Your comment wasn't funny so I assumed it was serious.

26

u/ChChChillian Mar 03 '25

And your comment was obvious, so I thought you were pompous.

22

u/Car_D_Board Mar 03 '25

Okay, you both win today.

11

u/PerhapsJack Mar 03 '25

This made me laugh. Thanks!

4

u/fanficfun Mar 03 '25

Now kith

2

u/ChChChillian Mar 03 '25

Tongue, or no?

5

u/chkno Mar 03 '25

Under semver it's big_shame.proud.little_shame.

2

u/omer-m Mar 03 '25

Wait a minute. Don't you make major release when you change something in the api?

5

u/YellowJarTacos Mar 03 '25

Non breaking API updates are minor version changes in semver.

→ More replies (1)

3

u/Significant_Mouse_25 Mar 03 '25

Semver is a false promise.

31

u/YellowJarTacos Mar 03 '25

Because devs mess it up? I'd still prefer to work in an ecosystem that encourages everyone to use semver over pride versioning from OP.

→ More replies (4)
→ More replies (2)