From Ruby With Love

21 Jun

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.

Advertisements

4 Responses to “From Ruby With Love”

  1. kjd (@RundBox) June 22, 2012 at 6:21 am #

    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

    • Natasha Murashev June 22, 2012 at 6:35 am #

      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!

  2. Jannis July 8, 2012 at 2:09 pm #

    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.

    • Natasha Murashev July 8, 2012 at 5:45 pm #

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s