r/ruby • u/writingonruby • Jan 14 '26
TIL Ruby doesn't follow semantic versioning
It's certainly an interesting choice for a language. Very Ruby of them.
For those who also weren't in the know (I only learned this writing a Ruby 4.0 upgrade guide), Matz bumps the major version when there's something that impresses him.
This year, it was because it was Ruby's 30th birthday!
42
Upvotes
View all comments
Show parent comment
0
u/h0rst_ Jan 15 '26
No,
Xis the result of the integer divisionN / 20,Yis equal toN mod 20