3 ms·
I just wish that python could stop being such a butt about not being like the rest of the languages list of items --> filter list --> operate on list becomes
by RubyPinch 11y ago
I just wish that python could stop being such a butt about not being like the rest of the languages
list of items --> filter list --> operate on list
becomes
operate on list <-- (list of items --> filter list)
And because this is how it was decided to tackle map/filter problems, we'll always have a weird gimped anon-function operator instead, to discourage the map/filter patterns of every other language