News for hackers. Stuff that matters.
Re:Lambdas and Functions in Python by Waterluvian on Saturday June 16, 2018 @06:34PM (#17329850)
Has anyone ever experienced a time where assigning member variables on a function made sense?

The thing I love about python is the freedom to do whatever I want and the responsibility to almost never do it. I crave examples of exceptional cases.

Re:Lambdas and Functions in Python by guitarbill on Saturday June 16, 2018 @06:41PM (#17329878)
The most common cases are decorator functions, e.g. one that counts the number of invocations: https://stackoverflow.com/questions/44968004/python-decorato...