ruby

Entry Level

EP20 – Ruby 101

22 Aug , 2012  

Play

This week Arlo and Ryan talk about Ruby as a language and what to expect. We cover Ruby syntax and other useful features of the language. Funny conversation comparing javascript and php to what we learned from Ruby.

Download: Direct Link

Itunes: itunes link

What’s up with Ruby?

  • Why learn ABOUT ruby?
  • History
  • What makes it different?
    • Everything is an object – similar to javascript?
    • weird variables: @instance $global
  • Benefits of Ruby?
    • inherent multi threading
  • Typeloosish

Ruby Basics

  • In such cases, the objects false and nil equates to false. Every other object like say 1, 0, “” are all evaluated to be true.
  • everything is an object and it has methods. like numbers!
  • variables?
  • arrays?
  • hashes?
  • for – BAD LOOP
  • each – GOOD LOOP
  • syntax? NO SEMICOLON – BAD SEMICOLON
  • methods
  • classes
  • strings
  • lambdas/closures

Try it out!

,


5 Responses

  1. Ben Carson says:

    Great intro to Ruby on Rails guys! My interest is defintiely piqued and I’ll be checking it out over the next few days.

  2. Ganginator says:

    Good episode! Can’t wait for the next one!

  3. [...] attempting to learn the Ruby programming language. First inspired by Arlo and Eric over at the dev1.tv podcast, and getting my first lessons on the language from codecademy, I’ve been really [...]

Leave a Reply

Your email address will not be published. Required fields are marked *