Question d’entretien chez Codelitt

Difference between lambda and proc

Réponse à la question d'entretien

Utilisateur anonyme

19 juin 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.