Launch School Live Session: Beginning Ruby

Note: This article was originally published on the Launch School blog on 2016–02–25

This is part 1 of our live session series on “Beginning Ruby”. This series is not an introduction to Ruby or programming. Instead, it’s a focused discussion on topics that many people new to programming get tripped up on. To get the most out of this series, you should already have some familiarity with basic programming concepts and have been dabbling a bit in Ruby. Those completely new to programming are welcome to watch, but just be aware that you’ll need a little bit of hands on experience first to fully appreciate the discussion.

In this video, we’ll talk about:

  • Ruby’s syntactical sugar
  • How to determine where code comes from
  • Local variable scope

See the entire Beginning Ruby Series

  • Part 1 (syntactical sugar, where code comes from, and variable scope)
  • Part 2 (pass by reference/value, variables as pointers, method side-effects vs return value)
  • Part 3 (Arrays and Hashes, common mistakes when using select and map, and the Enumerable module)

The below video is Part 1 and lasts about an hour.

A bug is introduced to the code on line 8 at around the 42 minute 10 second mark of this video. The code should actually read:

break if counter == arr.size

--

--

--

The slow path for studious beginners to a career in software development.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Basics of Functions in Python

Modify a string

Evolution of Promotion Search at Trendyol

A Simple Look at ISCP (IOTA Smart Contracts Protocol, aka IOTA Smart Contracts) Beta Release in the…

How to compute the Betweenness Centrality against Nebula Graph

Finding the duplicate number in the given list with o(n) time complexity.

Three Technical Benefits of Service Meshes and their Operational Limitations, Part 1

Managing Dependency and Module Versioning Using Go Modules

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Launch School

Launch School

The slow path for studious beginners to a career in software development.

More from Medium

Journal Entry 1

What To Do When You’re Waiting

On Being Plastic

The best 2020 games that can totally be f ** ked