Hacker News new | ask | show | jobs
by maxerickson 4421 days ago
A function defined with def would work just the same there.

It would have a big ugly 'return' in it and be a few characters longer, but it would work the same, so I don't see what lambda brings to it.

1 comments

Both def and lambda would fail identically in this context.