Pergunta de entrevista da empresa Codelitt

Difference between lambda and proc

Resposta da entrevista

Sigiloso

19 de jun. de 2019

I had brain freeze when i got this asked, but I of course know the answer. Answer is they are more or less the same in ruby, both are a proc, just the difference is parameters, lambda take care of more parameters more or less.