2 ms·
I don't have anything against list comprehensions. Sometimes they are a very useful abstraction. Other times map->filter->reduce better expresses the business l
by brudgers 9y ago
I don't have anything against list comprehensions. Sometimes they are a very useful abstraction. Other times map->filter->reduce better expresses the business logic of the program (e.g. when the analog is signal processing [1] or Unix pipes).
My issue with 'Pythonic' is that it is used to express the idea that someone's thoughts are or are not properly structured.
[1]: https://mitpress.mit.edu/sicp/full-text/sicp/book/node35.html https://mitpress.mit.edu/sicp/full-text/sicp/book/node35.htm...