Hello,
On Thu, 12 Nov 2020 19:38:38 -0400
David Mertz <[email protected]> wrote:
[]
> One idea that I cannot recall seeing, but that seems to make sense to
> me and fit with Python's feel is using a WORD to distinguish between a
> variable value and a binding target. That is, instead of a special
> case value NOT_FOUND: # use the variable value
> print("Document not found")
> case bind OTHER_CODE: # bind this name
> print("Other HTTP code")
> To me these read better than the punctuation characters. But I guess
> some folks have suggested enlisting 'as', which is a word, of course.
This is too verbose, COBOL-style. The whole push is to find concise,
yet intuitive and visible "sigils" for one possibility vs another, then
see how all 3 options (3rd being what's encoded in PEP634, sigil-less,
but with adhoc syntactic constraints) look and feel.
[]
--
Best regards,
Paul mailto:[email protected]
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/6JZSRTETXPXFXGVYVTRT4SCQXHVP4DHG/
Code of Conduct: http://python.org/psf/codeofconduct/