News for hackers. Stuff that matters.
Re:WTFPython – Understanding Python through surprising snippets by intrepidhero on Monday December 23, 2019 @12:12PM (#21865092)
In a decade of python use I can probably count on one hand the number of times lambda has been a good solution to a problem I had. Many times I end up re-writing them as regular functions for clarity sake.
Re:WTFPython – Understanding Python through surprising snippets by xscott on Monday December 23, 2019 @05:54PM (#21868220)
What's the symptom and what's the cause? Python's lambdas aren't very good, so they're frequently not a very good solution...