Ruby Fundamentals

A deeper dive into the fundamentals of the Ruby language.

Scroll down...

Content

Resources

Comments

Building Blocks

Your brief taste of Ruby in the previous lesson hopefully left you equal parts confused and curious. In this lesson, we'll take a more formal walk through the language and, by the end, you'll know everything you need to start using it to solve real problems.

Your Assignment

The following two resources each cover Ruby in slightly different ways and it's best to go through both if you're shaky on it. Both of them will have you building Ruby to solve simple exercises, though Codecademy will hold your hand much more while doing so. You have a few options for how to go through them depending on how you prefer to learn and how comfortable you are with Ruby. These options are laid out below.

Learning Paths

  1. If you prefer to have your hand held while building tiny projects along the way, do Codecademy first and then skim through Learn to Program to make sure you understand it. Try out the exercises in Learn to Program on your own.
  2. If you prefer to just read and absorb, start with Learn to Program first then skim through the exercises in Codecademy.
  3. If you're confident in your Ruby abilities, simply do the exercises in Learn to Program and those that you need most practice with in Codecademy. Go back and learn what you need to complete these.

The Resources

  1. Codecademy's Ruby Track.
  2. Chapters 1-10 of Chris Pine's Learn to Program. Take a crack at chapter 10, but don't feel disheartened if it still doesn't click for you.
  3. Extra: Are you learning Ruby after already knowing other languages? Read through "Ruby from other languages" in the official documentation. There are additional specific subsections for:
    1. Ruby from C and C++
    2. Ruby from Java
    3. Ruby from Perl
    4. Ruby from PHP
    5. Ruby from Python

Answers to the Learn to Program exercises are available at learntoprogamanswers.blogspot.com

See the Resources tab for more resources.



Sign up to track your progress for free

There are ( ) additional resources for this lesson. Check them out!

Sorry, comments aren't active just yet!

Next Lesson: Beginner Best Practices