+ 1
I just don't get why lambdas are called anonymous functions. could somebody explain?
3 odpowiedzi
+ 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.
+ 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.
+ 3
Because it doesn't have a name