Re:Functools – The Power of Higher-Order Functions in Python
by ehsankia on Friday July 09, 2021 @11:05AM
(#27784430)
I honestly prefer that, anything function longer than a line probably could use a name that gives it some context, even maybe a short docstring, to make the code more readable.
You can define a named function inside a named function and thus limiting its scope.