News for hackers. Stuff that matters.
Re:Functools – The Power of Higher-Order Functions in Python by lwouis on Friday July 09, 2021 @05:46AM (#27782030)
Most popular languages offer similar operations on collections these days. I've been using Java, Scala, JS/TS, purescript, Ruby, C++, Rust in the past, and these days all have a similar offering to iterate over collections using idiomatic functions such as map/filter/sort/etc.

I'm working on some python these days and I find quite unpleasant the 1-line lambdas, and general messy options to implement common collections operations.

There are no comments on this comment yet.