Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82045

Re: Tabs for indentation & Spaces for alignment in Python 3?

From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: Tabs for indentation & Spaces for alignment in Python 3?
Date 2014-12-06 22:04 +0200
Organization A noiseless patient Spider
Message-ID <878uiklf3g.fsf@elektro.pacujo.net> (permalink)
References (2 earlier) <mailman.16650.1417835105.18130.python-list@python.org> <87mw71maqu.fsf@elektro.pacujo.net> <mailman.16653.1417884132.18130.python-list@python.org> <87d27wlnr4.fsf@elektro.pacujo.net> <mailman.16655.1417886776.18130.python-list@python.org>

Show all headers | View raw


Michael Torrie <torriem@gmail.com>:

> So obviously your zigzaggy diffs are showing that the person who wrote
> the code is *not* using tabs for indent and spaces for alignment.

Source code lives easily for ten years or longer. It is touched by
numerous people in different groups or even companies under different
stylistic preferences. In fact, people rarely have the luxury or
inclination to think in terms of style.

> Since tabs and spaces are not visibly distinguished, it's not readily
> apparent when one is properly using tabs and spaces together,

Your "properly" is different from my "properly," I bet.


Marko

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Tabs for indentation & Spaces for alignment in Python 3? Michael Torrie <torriem@gmail.com> - 2014-12-05 20:04 -0700
  Re: Tabs for indentation & Spaces for alignment in Python 3? Marko Rauhamaa <marko@pacujo.net> - 2014-12-06 10:40 +0200
    Re: Tabs for indentation & Spaces for alignment in Python 3? Michael Torrie <torriem@gmail.com> - 2014-12-06 09:41 -0700
      Re: Tabs for indentation & Spaces for alignment in Python 3? Marko Rauhamaa <marko@pacujo.net> - 2014-12-06 18:57 +0200
        Re: Tabs for indentation & Spaces for alignment in Python 3? Michael Torrie <torriem@gmail.com> - 2014-12-06 10:26 -0700
          Re: Tabs for indentation & Spaces for alignment in Python 3? Marko Rauhamaa <marko@pacujo.net> - 2014-12-06 22:04 +0200
    Re: Tabs for indentation & Spaces for alignment in Python 3? Chris Angelico <rosuav@gmail.com> - 2014-12-07 03:46 +1100

csiph-web