On Sun, Nov 28, 2021 at 11:14 AM Chris Angelico <ros...@gmail.com> wrote:

> On Mon, Nov 29, 2021 at 5:54 AM Christopher Barker <python...@gmail.com>
> wrote:
> > Back in the day Python had map, filter, and reduce.
> >
> > Then comprehensions were added, which are another way to express map and
> filter in one go.
> >
> > I really like comprehensions.
> >
> > But since then, there has been an informal movement, if you can call it
> that, back to map and filter. Itertools is great, but it's not all that
> compatible with comprehensions :-(
> >
>
> Citation needed? What informal movement has there been, and where?
>

maybe even "informal" movement was too strong. It's a trend I've observed.
At least on this list and others I follow -- maybe not in the broader
community.

One example was a proposal a while back on this list for a "groupby" in
itertools (it kind of withered on the vine, like many good ideas here), I
suggested that it be made comprehension friendly, and some others including
the OP) didn't see the point. Maybe that's not representative, but it's a
trend I've noticed.

-CHB

-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/PXQGYHARFHIBPM5HDAN6QC5BRVXAKTL4/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to