Skip to content

Instantly share code, notes, and snippets.

View taylorruizchiu's full-sized avatar

Taylor Ruiz Chiu taylorruizchiu

View GitHub Profile

Control Flow

Objectives

  • If Statements
  • Each Loops
  • While Loops
  • Exercises!

Quick Review of Expressions

Introduction to Ruby

Why Learn Ruby?

  • It has learned/stolen a ton from the languages that came before it.
  • It's elegant and easy to learn
  • It doesn't focus on making code as short as possible, it cares about readability
  • It has a huge community behind it - documentation, tutorials, etc.
  • RAILS! Ruby is a well designed object oriented language. It is easy to read and stresses the DRY (Don't Repeat Yourself) principle. Since many of the method names and the ruby syntax itself is so much like english, it is an ideal language to start with.

Objectives