[Python-ideas] (no subject)

Guido van Rossum guido at python.org
Wed May 6 18:01:26 CEST 2015


On Wed, May 6, 2015 at 8:48 AM, Steven D'Aprano <steve at pearwood.info> wrote:

> Compared to asynchronous code, I would say function composition is
> trivial. Anyone who can learn the correspondence
>
>     (a @ b)(arg)  <=> a(b(arg))
>
> can deal with it.


Personally, I can certainly "deal" with it, but it'll never come naturally
to me. As soon as I see code like this I have to mentally pick it apart and
rewrite it in the more familiar form before I understand what's going on.

Maybe if I needed this frequently I'd learn to fly with it, but I just
don't see the need that often. I see things like f().g() much more often
than f(g()).

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150506/f718d000/attachment-0001.html>


More information about the Python-ideas mailing list