From Ruby With Love

I’ve been learning some JavaScript for the past few days, and so far, I don’t really enjoy using JavaScript. I’ve been thinking about why that is a lot, and the only answer I can come up with is the lack of love in the language…


The best way to explain this is to compare it to Ruby.

The creator of Ruby, Yukihiro Matsumoto, said the following in an amazing interview about the philosophy behind Ruby:

“Language designers want to design the perfect language. They want to be able to say, “My language is perfect. It can do everything.” But it’s just plain impossible to design a perfect language, because there are two ways to look at a language. One way is by looking at what can be done with that language. The other is by looking at how we feel using that language—how we feel while programming.”

Ever since I’ve started programming with Ruby, I’ve LOVED it. Matsumoto clearly put his love into the language and when we use it, we feel it. This is not a quantifiable thing. Just use Ruby and you’ll fall in love too.

In contrast, when I’m using JavaScript, which is super clunky and bloated compared to Ruby and doesn’t have good conventions, I just feel like I’m using something half-finished that nobody loves (a neglected child), and it doesn’t feel good.

It’s funny to think about programming languages this way, but just like with any other product out there, you need to put the love into it to get people to love it back.

Enjoy the article? Join over 17,500+ Swift developers and enthusiasts who get my weekly updates.

  • Yea I’ve read through some stuff of JavaScript before, and I didn’t like it either. So they should fix it :> like JS 2.0

    • Agreed! Especially since there are now so many other cool stuff that you could do with it, like node.js, ember.js, backbone.js, coffeescript and on and on!

  • Jannis

    I dont like javascript myself but there is light at the end of the tunnel. Take a look at “coffeescript” coming from a ruby background the syntax should be far more appealing to you.

    • Thanks! I’ve been focusing a lot on figuring out JavaScript, since it’s so powerful. Will take a look at CoffeeScript.

  • bright_day

    javascript is not perfect language but there are some great parts.. asynchronous programming, event loop. Also node.js doing good job on server side..

    • Not saying javascript is bad. It’s obviously necessary and does some amazing stuff. Just not as enjoyable to write in as Ruby, although CoffeeScript is changing that 🙂

  • sayed

    may be cuz it’s just take it’s creator two weeks to deliver it to the world.
    and it’s really amazing to be the most popular language in the computing history..