
On Tue, 18 Jul 2023 at 08:56, Dom Grigonis <dom.grigonis@gmail.com> wrote:
Just to add, I think your statement actually works in my favour rather than against my proposal.
People from this group are potentially biased and lack objectivity against what I am proposing because they are familiar with python and more experienced ones participated in “carved in stone” decision regarding already existent `ifelse` expression.
Of course we're biased. Everyone is biased. If you don't think you're biased, you just haven't seen your biases yet. A few of mine: * I have functional eyesight * I have a US-English layout "qwerty" keyboard * My internet connection, while decent, is not nearly as fast as some * I spend many hours a day writing code (as opposed to a novice, student, or very casual programmer, who all will have other priorities) * I use Linux exclusively and have no experience with Windows 11 * And yes, I know C. Also Ruby, Pike, JavaScript, and a ton of others. Each of these affects my opinions of what's good and what's not. And those are just the ones I could think of, off the top of my head. Some of them I actively fight against; others I simply recognize (for example, when people are discussing a change that would only affect Windows users, I'll let other people judge, since I can't adequately assess its impact).
So I expected that my proposal might even look humorous to some. E.g. In survey I got a comment “to learn python if I want to use it”. I am doing my best, just some parts of it are hard to digest in the context of other parts that are so easily digestible.
Humorous? Or just completely pointless? I don't think anyone here has said that your proposal is a joke.
Maybe this 20-year late discussion will have some impact on future python expressions. E.g. some new expression will be a superset of `ifelse` and this will be taken into account. Maybe not, but hopefully it had at least a bit of positive value.
https://peps.python.org/pep-0622/ Yet again, an improvement in expressiveness, though not in compactness. ChrisA