[Python-Dev] Re: PEP 638: Syntactic macros

2023-01-29 Thread cdp49
It looks like this hasn't gone anywhere in the past few years, which is a shame. Syntactic macros are one of the 2 or 3 "Killer features" that pushed me out of Python and into Julia (along with JITting inferred types and multiple dispatch). Math+data science code written in Julia is a lot more r

[Python-Dev] Re: PEP 638: Syntactic macros

2023-01-29 Thread Joshua Herman
I’ve used lisp and scheme and one reason why you wouldn’t want a syntactic macro is because there should be one and only one way to do a task. Sure we have deviated that in the ecosystem but allowing syntactic macros can have the side effect of many programs or projects to have multiple ways to