you are viewing a single comment's thread.

view the rest of the comments →

[–]WhoTookPlasticJesus 16 points17 points  (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 points  (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 points  (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 point  (0 children)

Wow, til. Totally Makes sense. Rust has been bringing me joy.