My 2c as a Python user (mostly) and someone who dabbled in ES2020: The shouting syntax! does not sit well with me. The $hygenic is also cumbersome. To contrast, babel macros: * looks like regular code, without special syntax: existing tooling works, less mental strain * have access to call site environment, so not strictly hygienic(?): allow for greater expressive power I these the two points above really helped adopt babel macros in the js community and should, at the very least be seriously considered by the py community. Cheers, d. On Sat, 26 Sep 2020 at 21:16, Mark Shannon <mark@hotpy.org> wrote:
Hi everyone,
I've submitted my PEP on syntactic macros as PEP 638. https://www.python.org/dev/peps/pep-0638/
All comments and suggestions are welcome.
Cheers, Mark _______________________________________________ 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/U4C4XHNR... Code of Conduct: http://python.org/psf/codeofconduct/