3 ms·
I've been writing Python professionally for a while now, and the one thing I always want to reach for are multi-line anonymous functions. However, I do apprecia
by heavyset_go 6y ago
I've been writing Python professionally for a while now, and the one thing I always want to reach for are multi-line anonymous functions. However, I do appreciate how Python prevents some of the callback hell one can encounter in JavaScript codebases.
There is a difference between abusing anonymous functions, and situations where anonymous functions might be called for, where it just so happens that those functions require more than one line of code.