What’s in a Lambda?
An overview of anonymous functions in Python and why you should use them
Published in
4 min readJan 14, 2022
When I was a TA for introductory computer science, one of the topics which routinely confused my students was lambda functions in Python. This confusion manifested in one of two ways: 1) difficulty understanding how exactly these functions work, and 2) perplexity regarding why they should be used at all.