News for hackers. Stuff that matters.
Re:Functools – The Power of Higher-Order Functions in Python by Zababa on Friday July 09, 2021 @09:32AM (#27783479)
The thing is, filter is present in almost all languages now while list comprehensions are in Python, Julia and Haskell. Maybe it's not "pythonic", but Python doesn't exist in a vacuum and is influenced by other languages, as proven with the optional typing and the pattern matching. Maybe it's time to review the definition of pythonic?

There are no comments on this comment yet.