On 27/10/2021 03:12, Brendan Barnwell wrote:
On 2021-10-26 17:41, Christopher Barker wrote:
Python used to be such a simple language, not so much anymore :-(

    I quite agree, and I feel like this is my biggest reason why I don't want this "feature" (or any of another gazillion features that have been suggested and/or accepted here, including the walrus).  The benefit of this PEP simply does not justify the added complexity of the language as a whole.  Using None (or some sentinel) and including code to check for it works fine.  It's not worth it to add a whole new layer of behavior to something as basic as argument-passing just to avoid having to type `if arg is None`.

While I disagree with you re this particular feature, I sympathise with the general sentiment.  Perhaps the first objective of Python 4 should be to get rid of as many features as possible.  Just like when you're forced to throw out all your precious old junk (school reports, prizes, the present from Aunt Maud, theatre programmes, books you never read, clothes you never wear .....).

Nah, who am I kidding?  Each feature will have its band of devotees that will defend it TO THE DEATH!  Of course, what it should REALLY have are all MY favorite features, including some that haven't been added yet.😁
Rob Cliffe
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/SLBFP4DP4MKUOMSVWNCOREVMKXA3UIZ6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to