
On 24 Jun 2020, at 17:57, misha@drach.uk wrote:
To me match also sound confusing as a keyword. You don't match things to cases in English. Maybe match x: against 1? https://idioms.thefreedictionary.com/match+against
match point: against (x, 1): ... against (1, y): ...
Better yet it feels to me to have:
handle point: as (x, 1): ... as (1, y): ... as None: ... _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/LGPOSO6L... Code of Conduct: http://python.org/psf/codeofconduct/
I think the match/case terminology is so common in this area that introducing different names for this would be counterproductive.