Discovering the Differences Between Blocks, Procs and Lambdas

Unblock using procs in Ruby

About the screencast

Ruby developers love blocks and use them every day, however in many cases the blocks are executing immediately. What if you’d like to execute the block later? In this video we are going to discuss callable objects: blocks (which are actually not objects), procs and lambdas. We’ll see the differences between them and reveal the truth about closures.

  • Last Updated May 2017

Comments

Have your say! or become a member now to take part in the discussion

Loading...