[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 readable 
because of this.
___
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/PPCXZJYPNNT6XZ6EQ35OQE4SG2QBAZRT/
Code of Conduct: http://python.org/psf/codeofconduct/


[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 do 
something because they would have the feature .

I think that this would be better as a library in my opinion. 

Sent from my iPhone

> On Jan 29, 2023, at 2:20 PM, [email protected] wrote:
> 
> 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 
> readable because of this.
> ___
> 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/PPCXZJYPNNT6XZ6EQ35OQE4SG2QBAZRT/
> Code of Conduct: http://python.org/psf/codeofconduct/
___
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/TKMQKXLQYFQ5CWS76SW7UXFEDZOIXJ2E/
Code of Conduct: http://python.org/psf/codeofconduct/