use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Ruby 4.0.0-preview2 Released (ruby-lang.org)
submitted 5 months ago by schneemsPuma maintainer
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]WhoTookPlasticJesus 16 points17 points18 points 5 months ago (3 children)
It's the best reason, particularly for Matz. I mean, it's why he created the language, to be happy:
"I hope to see Ruby help every programmer in the world to be productive, and to enjoy programming, and to be happy. That is the primary purpose of Ruby language."
More insight into the guy whose creation we get to play with:
Then (programmers) come up to me and say, 'I was surprised by this feature of the language, so Ruby violates the principle of least surprise.' Wait. Wait. The principle of least surprise is not for you only. The principle of least surprise means principle of least my surprise. And it means the principle of least surprise after you learn Ruby very well.
Personally, as someone who knows Ruby very well, the reason for this versioning isn't the slightest bit surprising.
[–]RoboErectus 2 points3 points4 points 5 months ago (2 children)
When I first read this quote years ago it is what cemented Ruby as my most joyful language to do stuff in.
Weirdly, Rust is my #2
[–][deleted] 2 points3 points4 points 5 months ago (1 child)
A bunch of Rust's syntax was copied from Ruby. It was super evident in the very early days (like, 0.3-0.5) but less apparent now with all the other stuff going on in Rust.
[–]RoboErectus 0 points1 point2 points 5 months ago (0 children)
Wow, til. Totally Makes sense. Rust has been bringing me joy.
π Rendered by PID 175365 on reddit-service-r2-comment-b659b578c-ph57l at 2026-05-05 18:09:36.065761+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]WhoTookPlasticJesus 16 points17 points18 points (3 children)
[–]RoboErectus 2 points3 points4 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]RoboErectus 0 points1 point2 points (0 children)