Frage im Vorstellungsgespräch bei Codelitt

Difference between lambda and proc

Antwort im Vorstellungsgespräch

Anonym

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