Skip to content
RubyInsights

Welcome to the Learn to Program Course

Learning Objectives

The main goal of this tutorial is to teach the fundamentals of computer programming to absolute beginners. Using the Ruby language, known for its simplicity and elegance, you will learn concepts that apply to almost all programming languages. We assume no prior knowledge.

Content Structure

The course is organized sequentially, starting with environment setup and basic concepts like numbers and letters. As you progress, we will introduce control structures, collections, methods, classes, and more advanced concepts like blocks and procs. Each chapter builds upon the previous one.

This tutorial is heavily inspired by and adapted from Chris Pine's excellent book 'Learn to Program'. We thank the author for making programming accessible to everyone.

Course Content

Tutorial
Chapter 00

00. Ruby Installation Guide

00. Ruby Installation Guide - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 01

01. Numbers

01. Numbers - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 02

02. Letters

02. Letters - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 03

03. Variables and Assignments

03. Variables and Assignments - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 04

04. Mixing It Up

04. Mixing It Up - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 05

05. More About Methods

05. More About Methods - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 06

06. Flow Control

06. Flow Control - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 07

07. Arrays and Iterators

07. Arrays and Iterators - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 08

08. Writing Your Own Methods

08. Writing Your Own Methods - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 09

09. Classes

09. Classes - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 10

10. Blocks and Procs

10. Blocks and Procs - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial
Tutorial
Chapter 11

11. Beyond This Tutorial

11. Beyond This Tutorial - Learn the concepts in this chapter.

Programming Tutorial
Start Tutorial