--

The main benefit of lambda functions is that they don't have to be defined as a function at all. You can think of them as a use-and-throw function that does its job when its called.

They are mostly used when we want to perform some basic functional operation and we don't want to define a whole function body before we can perfom that operation.

--

--

Karan Kaul | カラン
Karan Kaul | カラン

Written by Karan Kaul | カラン

Writes about Machine Learning/Data Science. Say Hi on LinkedIn - https://www.linkedin.com/in/krnk97/

No responses yet