I've tried to understand these terms for a long time, and every time I walked away feeling like I get it but I can't put my finger on what's missing. You helped me fully understand them and made it very easy to follow. Thank you very much! I'm truly grateful.
@cjav_dev3 жыл бұрын
So happy to hear that!! Thanks for watching
@willyhorizont8672 Жыл бұрын
I'm just learning ruby. Your explanation of block, proc, and lambda is very easy to understand. Thank You!
@marcioiherrero4 ай бұрын
Very good, now I understand perfectly how it works by passing a block as a parameter and how it works with parameter in block. The example of the each method illustrated this functionality well, I was wondering how each of the Array and Hash worked behind the scenes. Thank you!
@idreesibrahim56422 жыл бұрын
love you boy! great concept you shared. Thanks.
@c_zeroyt25562 жыл бұрын
I read so many articles and blogs about procs and lamdas but now I understand fully, thanks.
@TheLastLogicalOne2 жыл бұрын
Thank you, very helpful.
@allicernoch2 жыл бұрын
Just pulled up this video to learn about procs and was like "Hey, I know him!" We sat at a table together during lunch at RailsConf. Excited to watch more of your videos, this one was great!
@cjav_dev2 жыл бұрын
Hey! Thanks for watching! Great meeting you at RailsConf. Looking forward to rubyconf already :)
@Ralph_Schumacher2 жыл бұрын
Great explained, THANKS!
@yashsanghavi53383 жыл бұрын
I think this is best video on KZbin for understanding blocks, procs and lambdas
@juliantoro84162 жыл бұрын
Thanks for the explanation, you explain things very easily
@cjav_dev2 жыл бұрын
Thanks for the kind words! Glad you liked it.
@Andy_a73 жыл бұрын
the best explanation of how you implement in Ruby the thing known as a "callback function" in JavaScript.
@PervadingPower2 жыл бұрын
Thank you! It's useful and interesting!🖖
@shanmugam_m3 жыл бұрын
Thanks for making this video. Need more videos about Ruby on Rails!
@cjav_dev3 жыл бұрын
Any rails topics in particular you’d like to see?
@shanmugam_m3 жыл бұрын
@@cjav_dev Rails API Request Specs with RSpec for both controller and model. Thanks in advance
@cjav_dev3 жыл бұрын
@@shanmugam_m ooh good one. Will do some rspec content soon :)
@shanmugam_m3 жыл бұрын
@@cjav_dev wow waiting!
@ES117772 жыл бұрын
Awesome vid, bro! I'm The Odin Project student and your video helped me understand procs! Thank you, keep up the good work!
@actrox12 жыл бұрын
It's my first time using Ruby and the way you are explaining it, I see everything looks clear.
@aarya93822 жыл бұрын
At 14:30, proc did return the last statement, however, puts returns nil so that’s why the output was like that
@tahamanna36009 ай бұрын
Great video, thanks!
@ClaudineyPerbony3 жыл бұрын
great explanation. simple and concise. thanksssss again!
@abdu58222 жыл бұрын
Thanks for this. Great explanations.
@rachelleggett16343 жыл бұрын
This was really helpful, thank you!
@Amd107 Жыл бұрын
This is an amazing tutorial!
@Rarasinhoo Жыл бұрын
wow man, you have sooo much ruby knowledge it's overwhelming
@cjav_dev Жыл бұрын
I’ve got time on my side. Anyone can do it!
@ladmanoj14353 жыл бұрын
Awesome. Thank you for the video. :)
@cppdog35492 жыл бұрын
Just amazing. Love this tutorial. It's very clear, and the examples are awesome. Thank you for taking the time and creating this video and helping educate us. Warm thank you from Erbil, Iraq. You should visit by the way, we would love to have you here. My house is open for you 24/7.
@cjav_dev2 жыл бұрын
Thanks for watching and thanks for your generosity:)
@YasserKavousi2 жыл бұрын
great, that was helpful!
@adan99753 жыл бұрын
Extra super mega cool block, lambda and proc common uses case. Thanks yo 💪🏻💪🏻💪🏻💪🏻
@SCBiscuit135 ай бұрын
I think there is an issue here. When you are trying to pass a lambda to the 'each' method. The '&' symbol is converting the lambda into the proc on passing vars to the method.
@aualdrich3 жыл бұрын
Great explanation! Long time rubyist but I've never used/properly understood procs and lambdas like I should have. This helped a lot. Thanks!
@cjav_dev3 жыл бұрын
Awesome! Thanks for watching!
@larrydanso11293 жыл бұрын
Thanks for making this simple to understand
@developerfoe2 жыл бұрын
masterpiece...
@dencam Жыл бұрын
Missing your Rails tutorials
@oiojin8313 жыл бұрын
thanks for the video, how can you call each method with block ?? each(students) do ... dont your block has to be iside of the parenthesis?
@emilianomazzaglia73003 жыл бұрын
A little comment when you explain the return behavior of procs, procs returns from the context that it was call, so it will return the each execution :D Everything else was really good!
@FaraazAhmad2 жыл бұрын
Bit out of context but are those 4 names related to DC/Marvel heroes by any chance? :)
@cjav_dev2 жыл бұрын
Yep haha good catch
@dencam Жыл бұрын
This is metaprogramming, right?
@cjav_dev Жыл бұрын
I’ve got another episode about meta programming. This one is more about understanding blocks.
@bradalza983 жыл бұрын
Please make a video on self, it's very confusing.
@TheFranciscomoral3 жыл бұрын
still trying to understand the last one :(
@cjav_dev3 жыл бұрын
Lambdas?
@TheFranciscomoral3 жыл бұрын
@@cjav_dev tks for answering ! No , the logic inside the block to return the values ordered by how much times they appear in the array
@shashankkestwal44546 ай бұрын
Please tell me that Rails will not die in the next 5 years.