+ 1

I just don't get why lambdas are called anonymous functions. could somebody explain?

3rd Apr 2016, 3:02 PM
Selva Kannan
Selva Kannan - avatar
3 Answers
+ 5
They don't need a name. if you create a function with 'def' you are forced to give it a name. lambda functions don't need to have a name.
1st May 2016, 6:00 AM
Daniel Reuter
Daniel Reuter - avatar
+ 3
they are called anonymous because you don't name them and therefore cannot be called upon outside of the function body you have written them in.
24th Jun 2016, 6:38 AM
laurens sandt
+ 3
Because it doesn't have a name
24th Jun 2016, 3:10 PM
nikolad