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. 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. > On 17 Jul 2023, at 21:37, Dom Grigonis <dom.grigo...@gmail.com> wrote: > > This is NOT a good example, my first language was R, second - python, third > matlab, etc. > > I only became familiar with C/C++ after several years of coding experience. > > This is why, I would dare to say that this preference of mine is not affected > by prejudices. > >> On 17 Jul 2023, at 20:44, Chris Angelico <ros...@gmail.com> wrote: >> >> On Tue, 18 Jul 2023 at 03:13, Dom Grigonis <dom.grigo...@gmail.com> wrote: >>> Maybe for someone who majored in languages python’s if-else is more easily >>> understood. To me, personally, 2nd one is unbearable, while 1st one is >>> fairly pleasant and satisfying. >>> >> >> This is a REALLY good example of how hard it is to be objective about >> syntax. Being familiar with something really truly does make it >> immensely better - for you. You're comfortable with the C syntax. >> That's great! So am I. But that isn't a good indication of how it >> would be accepted by someone who isn't familiar with either syntax. >> >> The ?: syntax has the advantage that the evaluation order is >> left-to-right, which is the most common (though far from universal) >> evaluation order. That is a definite advantage, to be sure, but >> perhaps not as big as you might think. The if/else syntax is more >> consistent with other Python syntax by using words, though. >> >> Ultimately, *all* syntax has to be learned. >> >> ChrisA >> _______________________________________________ >> 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/NGJ5GH6JXOZZLSTJT323F4TUEH5YXN3V/ >> Code of Conduct: http://python.org/psf/codeofconduct/ > _______________________________________________ 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/5IQM3DSGOF25Y4STSTAPHV2H2LBL4GC2/ Code of Conduct: http://python.org/psf/codeofconduct/