[Python-ideas] Infix functions

Andrew Barnert abarnert at yahoo.com
Mon Feb 24 08:03:45 CET 2014


On Feb 23, 2014, at 15:14, Nicholas Cole <nicholas.cole at gmail.com> wrote:

>>     a @foo b = foo(a, b)
> 
> Please, no!
> 
>  Everything on this list for the past few days seems to have been more and more compact syntax for things that may or may not have a use.  
> 
> 
> Please, no!
> 
>  Everything on this list for the past few days seems to have been more and more compact syntax for things that may or may not have a use.  

This thread was a spinoff from those other threads, an attempt to see whether a single change could make many of those other proposals unnecessary.

I'm not sure it is, or even could be, successful at that. Unfortunately, nobody is even looking at the intended use cases, instead just assuming that this must only be useful for mathematical/numerical code (which, as I've said from the start, I think has been mostly a solved problem since numpy), and therefore either jumping off into how they'd like that to work, or knee-jerk responding that we don't need it.

Obviously I've done something wrong in presenting the idea. I wish I knew what it was.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140223/37d4c92e/attachment.html>


More information about the Python-ideas mailing list