Thanks for the clarification. Yeah I agree it will look ugly if we use it not 
as a first argument many times in a row but what if there is one or two 
functions in the middle that they are not playing along and don’t have teamwork 
ethics, meaning they put the parameter we are interested in as a second or 
third parameter or as a keyword only parameter and it will make really good 
sense to chain those calls? I believe an option should be given to the 
programmer to do this, but it shouldn’t be encouraged to do it a lot. _ could 
be used as a placeholder or anything really. 
1 -> add(2) -> pow(3, _) equivalent to 1 -> add(_, 2) -> pow(3, _). 
_ is where your output goes into. _ as a first argument can be omitted. 

> On 1 Dec 2021, at 2:14 AM, Chris Angelico <ros...@gmail.com> wrote:
> 
> Otherwise you end up with a much more complicated proposal with far
> less beauty to it.

_______________________________________________
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/B5ATJZ3KYQGWJI3SFCKSIYTYJXU7P2C7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to