On Tue, 13 Jun 2023 at 14:54, Greg Ewing <gcew...@snap.net.nz> wrote:
>
> On 13/06/23 11:38 am, Chris Angelico wrote:
>  > (Fun fact: Pike looked at what Python was doing, and came up with a
>  > concept of "continue functions"
>
> And I gather that the "async" and "await" keywords came
> from C#. Languages are always stealing from each other. :-)

Yeah, it's very common to borrow ideas like that. I just find it
rather neat that Pike reused an existing keyword rather than creating
a new one - Python had the same dilemma and chose to create a weird
context-dependent keyword for a few versions, most other languages
just made it a keyword and that's that, but Pike chose to go "well,
let's call these things 'continue functions', and then we can use that
word!".

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

Reply via email to