Understanding Procs, Lambdas, and Blocks in Ruby - Part 2: All Why?s Explained
In the first part of this article, We learned about what Procs, Lambdas, and Blocks are? If you haven’t read it, I strongly recommend you to read Part 1: All what?s Answered, before continuing.
In this part, let’s explore why we need Procs, Lambdas,...
saikrishna.dev7 min read