On Thu, Jul 26, 2018 at 5:10 AM, Steven D'Aprano <st...@pearwood.info> wrote:
> On Wed, Jul 25, 2018 at 05:11:08PM -0500, Abe Dillon wrote:
>> The problem here is not whether it's explicit. It's about Readability and
>> conciseness. Using symbols in place of words almost always harms
>> readability in favor of conciseness.
>
[...]

> Do you know what helps readability? *Learning to read*. Once you have
> learned to read ?. and friends, they will be as readable as . and
> slicing is now.

No it is not like that.
E.g. slicing is intuitive and straightforward concept even for a non-programmer.

And no, it is not (only) about learning.
For example, no matter how experienced a programmer is,
complex comprehensions will be less readable than the
same construct written in loops and ifs.

Or say this:

    user?.profile?.food

will be less readable than say:

    user » profile » food

No matter how long you learn it, the former remains ugly and
obfuscating.
With that said, I don't say this syntax deserves something better,
I just say that I can't see how your "learn more" argument applies
here.



Mikhail
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to