On Fri, 17 Jul 2020, Ethan Furman wrote:
The problem with any kind of sigil/keyword is that it becomes line noise --
we would have to train ourselves to ignore them in order to see the structure
and variables we are actually interested in. Once we become adept at ignoring
them, we will again have difficulties when debugging as we won't easily see
them.
Besides which, the problem is solved:
- namespace.var is a lookup
- var is a store
Regardless how hard this is being pushed, I beg to disagree.
Matching is easy to think of as an extension of destructuring assignment,
and could easily be that, if we just don't introduce incompatible rules.
Everything currently allowed in an assignment is a store,
so it follows that the markup for lookups must be something that is
not currently allowed in an assignment.
Besides literal constants, my preference is for ``` == x ```,
with the obvious opening for future extension.
/Paul
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@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/GASEWDEUNW7WNEDRD4JBF2HJ3AU26OJY/
Code of Conduct: http://python.org/psf/codeofconduct/