
On 2021-10-26 19:50, Rob Cliffe via Python-ideas wrote:
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
Now you're talking! 100% agree! Assuming of course that by "MY favorite features" you mean, well, MY favorite features. . . :-) -- Brendan Barnwell "Do not follow where the path may lead. Go, instead, where there is no path, and leave a trail." --author unknown