What I meant is that it is not affected by prejudices to such a degree that a 'challenger' wanted to make it look.

“I find it more readable” is a fair statement. The recognition of subjectivity is very transparent in it. In other words, such statement is not trying to be bigger than it actually is.

I realise that. I actually sometimes do use conditional `ifelse` and well aware of it’s existence. I am just trying to connect dots here.

Some proposals here are answered very clearly and in line with:
"There should be one-- and preferably only one --obvious way to do it.”

And some fall into category “there are workarounds, just deal with it". As I said, it seems that (at least to me) there is a big part of them that are pointing towards this direction - those that are confused about the elegant and simple way of doing certain simple things.

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.

On 18 Jul 2023, at 01:49, Christopher Barker <pythonchb@gmail.com> wrote:

On Tue, 18 Jul 2023 at 04:37, Dom Grigonis <dom.grigonis@gmail.com> wrote:
> This is why, I would dare to say that this preference of mine is not affected by prejudices.

Of course it's affected by prejudices -- all our preferences are. A sample of one "I find it more readable" is about as useful as any sample of one to represent a population.

Personally, I find the C syntax completely opaque and the Python syntax totally understandable the first time I saw it -- and it's very much more "Pythonic".

But that's influenced by my prejudice.

But anyway, this conversation is 20 (!) years too late[*] -- and it did take place then. It's not going to change now.

-CHB



--
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@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/YQGA4KWF7G4I32GZNYLWQ2EIZOHMEZJY/
Code of Conduct: http://python.org/psf/codeofconduct/