skillcrush

Tech Term

Ruby

Ruby is a programming language designed for productivity and fun.

Ruby

Ruby is a programming language designed for productivity and fun.

Ruby was created in 1995 in Japan by Yukihiro Matsumoto (who is known as Matz). He felt that programming languages had been too focused on being for machines and needed to align more with human needs.

Let's say you wanted to print "ha" 3 times on the screen, so you'd get "hahaha." In many programming languages you might have to do something like this:

for(int i = 0; i < 3; i++) {
  cout << "ha";
}

Not so fun looking, right?

Matz wanted to create a computer languager that people could feel comfortable reading and interacting with, without all of that intimidating-looking punctuation. Printing "hahaha" in Ruby could look something like this:

3.times do
  print "ha"
end

Ruby's popularity grew with the release of Ruby on Rails in 2005. Rails was a framework that made it easier for Ruby to be used to create web pages, and was many developers' first introduction to Ruby. Since then Ruby's popularity has exploded, and Ruby developers are now very much in demand.

Twitter and Hulu are two famous web applications created using the Ruby programming language.

Cocktail Party Fact

A Ruby developer that went by the handle Why the Lucky Stiff (a.k.a. _why) built many of the tools people use to learn Ruby today. They are best known for their whimsy and accessibility, two things that most introductions to programming lack. A great example is "why's (Poignant) Guide to Ruby" which is impossible to do justice to when describing. What other programming manual has cartoon foxes? It's a major inspiration for us here at Skillcrush.

In 2009 _why vanished from the Internet, erasing both his persona and his projects. The Ruby community scrambled to save what they could, attempting to reconstruct his now-famous legacy. You can read the story over on Slate - Ruby, Ruby on Rails, and _why - The disappearance of one of the world's most beloved computer programmers.

Now try ruby!

  1. Go to www.tryruby.org
  2. Do everything the cartoon foxes tell you to do!
  3. Enjoy learning the fundamentals of the Ruby language :)

Learn the ins and outs of the web with our daily newsletter

We explain everything from CSS to Cloud computing. It's like a daily deal for your brain!

What would you like to learn?

Pass us a note at hello@skillcrush.com.

  • Follow us on Twitter

  • Like us on Facebook

  • Follow us on Pinterest

© Skillcrush, 2012

xoxo Skillcrush Team