[Python-ideas] Pipe indentation

Philipp A. flying-sheep at web.de
Mon Dec 9 15:19:29 CET 2013


2013/12/9 Chris Angelico <rosuav at gmail.com>

> Alternative suggestion: Tab indentation. Do exactly the same thing,
> but replace every pipe with a tab. Then you can set your editor to
> show indentation visibly (SciTE does this already).
>
> ChrisA
>

that’s also my favourite way to do it.

some editors can show tabs as an slim unobtrusive slim line and
leading/trailing spaces as middle dots (·)

that way you can not only instantly see all misplaced whitespace
characters, but also indentation levels. (one tab per indentation level is
pretty much as semantically unambiguous as it can get)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131209/44624815/attachment.html>


More information about the Python-ideas mailing list