Hi Guido,
On 3/12/19 6:00 pm, Guido van Rossum wrote:
To play the devil's advocate...
Thanks :-)
(1) Using the (possible, future) PEG parser
<https://github.com/gvanrossum/pegen/> this would be easy to add to
the grammar, as long as it's optional.
(2) It can actually help readability in some cases, especially when
e.g. 'for' and 'if' alternate.
(3) I have been known to hold a ruler against my screen to
double-check indentation.
It seems quite a few folks missed the most important argument, which is
that apart from the readability argument, there's also the argument that
the Python interpreter can help find issues in the code at parse time
instead of at run time (way more time intensive) as writing a "end for"
where an "end while" should be gets flagged immediately.
cheers,
Jan
_______________________________________________
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/TKRKWCEYN32S4YMYSCTOQN4DHWM6NQQ4/
Code of Conduct: http://python.org/psf/codeofconduct/