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?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Marko Rauhamaa <marko@pacujo.net>
Newsgroups comp.lang.python
Subject Re: Tabs for indentation & Spaces for alignment in Python 3?
Date Sat, 06 Dec 2014 22:04:35 +0200
Organization A noiseless patient Spider
Lines 17
Message-ID <878uiklf3g.fsf@elektro.pacujo.net> (permalink)
References <CAFaCOgzqxcvuKBrcSkK+DRm-5pHuh6QCXi1PKG4LHGqdBjLF_A@mail.gmail.com> <m5tpqg$iqi$1@ger.gmane.org> <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>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="1554"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DKd99bxnN3+RypnqYCq2B"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:nfmPwAWtViX0gOxw0U2MvTWttXI= sha1:A1EsJ2k9lXDAIwB9Xw+93+pr3QU=
Xref csiph.com comp.lang.python:82045

Show key headers only | 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