On Dec 2, 2019, at 21:00, Guido van Rossum <gu...@python.org> wrote:
> 
> 3) I have been known to hold a ruler against my screen to double-check 
> indentation.

Well, if that isn’t part of your integrated development environment, you just 
need to switch to emacs and give it control of a 3D printer and a robot and it 
can integrate holding up a ruler for you. :)

But more seriously, the unobtrusive colored vertical indent-guide lines (that I 
think Sublime popularized, but lots of editors do it now, including at least 
two variations for emacs) really do solve this for me just as well, even with 
horrible random-indentation code. The only reason I still use the keystroke to 
highlight the start of the block instead is too many decades of muscle memory 
using emacs.

That doesn’t help when there’s so much code in the inner block that it doesn’t 
fit on the screen, so I can’t trace the line up to the start. But does a ruler 
help any better? And would an “end for”?

_______________________________________________
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/6K4WNB7CRQWLRJBBDJPPIDNJAXAHHNBF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to