Archive of QA for this lesson


#1

Below please find links to archived Q&A discussion for the Blocks, Procs, and Lambdas course.

Blocks, Procs, and Lambdas

Exercise 1.1: You Know This!
Exercise 1.2: Collect 'Em All
Exercise 1.3: Learning to Yield
Exercise 1.4: Yielding With Parameters
Exercise 1.5: Try It Yourself!

Exercise 2.1: Keeping Your Code DRY
Exercise 2.2: Proc Syntax
Exercise 2.3: Why Procs?
Exercise 2.4: Create Your Own!
Exercise 2.5: Call Me Maybe
Exercise 2.6: Symbols, Meet Procs

Exercise 3.1: The Ruby Lambda
Exercise 3.2: Lambda Syntax
Exercise 3.3: Lambdas vs. Procs
Exercise 3.4: Now You Try!
Exercise 3.5: Quick Review

Exercise 4.1: Been Around the Block a Few Times
Exercise 4.2: Creating a Proc
Exercise 4.3: Passing Your Proc to a Method
Exercise 4.4: Creating a Lambda
Exercise 4.5: Passing Your Lambda to a Method


#2