How coding in Python is bad for you

Grant Edwards grant.b.edwards at gmail.com
Tue Jan 24 11:53:50 EST 2017


On 2017-01-24, Chris Angelico <rosuav at gmail.com> wrote:

> No no no. You have two orthogonal styles (indentation and tokens), but
> then you added another of the same style (another pair of tokens). You
> need a third orthogonal style. I suggest that each nesting level be
> heralded by an increase in indentation, an open brace, and a new text
> colour.

Bravo!

Actually, some news/mail readers pretty much do that with quote
levels, and it works pretty well.  Assuming you're not color blind,
don't care about hardcopy on monochrome printers, don't care about
screenreaders, don't use monochrome monitors, etc.

-- 
Grant Edwards               grant.b.edwards        Yow! I want the presidency
                                  at               so bad I can already taste
                              gmail.com            the hors d'oeuvres.



More information about the Python-list mailing list