Martin McBride
Nov 28, 2023

As others have said, naming a lambda function is generally regraded as bad practice.

But I also think your article is a bit confusing in the way it talks about function objects. In Python all functions are objects, and any function can be passed in as an argument to another function. It doesn't have to be a lambda function to be a function object.

Martin McBride
Martin McBride

No responses yet