Dima, Do you have a link to "babel macros"? Searching for that brought up several different things; not being a frequent JS user I don't know how to filter these. --Guido On Wed, Oct 14, 2020 at 11:55 PM Dima Tisnek <dimaqq@gmail.com> wrote:
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/
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/VEC7VWY5... Code of Conduct: http://python.org/psf/codeofconduct/
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>