+ 1

So lambda functions are mostly used for doing simple things (like additions) without having to define a new function "add_numbers"? Also taking into account that i wont repeatedly use the same lambda function.

29th Jun 2016, 1:24 PM
Lucas
2 Respuestas
+ 1
I think it is mostly used to define short/simple functions. In combination with variables, you can re-use them. It's for lazy people hahah
22nd Sep 2016, 10:45 AM
Jérémy
Jérémy - avatar
- 1
reusing a lambda expression kill the point of using lambda. if you processing is reusable than it must be a function.
8th Jul 2016, 1:51 AM
Kimboo Rasta
Kimboo Rasta - avatar