3 ms·
In all my Python years, I have never needed to write a long anonymous function. I consider it a bit of a code smell. This isn't to say it's wrong to do in JS,
by StavrosK 13y ago
In all my Python years, I have never needed to write a long anonymous function. I consider it a bit of a code smell.
This isn't to say it's wrong to do in JS, just that the patterns in Python are different so you don't use this in practice.