---
title: "Discussion on \"Understanding Procs, Lambdas, and Blocks in Ruby - Part 2: All Why?s Explained\" | Hashnode"
description: "Discussion on \"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.\n\nIn this part, let’s explore why we need Procs, Lambdas,..."
url: "https://hashnode.com/posts/understanding-procs-lambdas-and-blocks-in-ruby-part-2-all-whys-explained/5f3f645b5b3ac8481821c74d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding Procs, Lambdas, and Blocks in Ruby - Part 2: All Why?s Explained](https://saikrishna.dev/blog/understanding-procs-lambdas-and-blocks-in-ruby-part-2-all-whys-explained?utm_source=hashnode&utm_medium=feed)

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,...

Feb 24, 2020 · 7 min read · saikrishna.dev  
Updated Apr 21, 2022  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#rails](https://hashnode.com/tag/rails)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Sai Krishna Prasad Kandula](https://hashnode.com/@sai_krrishhh)

@sai\_krrishhh

  
[View profile](https://hashnode.com/@sai_krrishhh)

Sr Software Engineer @hashnode | I write about ReactJS, JavaScript, Ruby on Rails as I learn | Let's share and learn together💖

I am a Self-Taught and Passionate FullStack Developer from Bangalore, India. ReactJS, JavaScript, Ruby on Rails, HTML, and CSS.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
