Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Python style (Was: equery refactorization)
Date: Sun, 07 Dec 2008 00:50:00
Message-Id: 493B1DB9.6060008@gentoo.org
In Reply to: [gentoo-portage-dev] Python style (Was: equery refactorization) by "Michael A. Smith"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Michael A. Smith wrote:
5 > Actually I don't like spaces for indentation at all. A tab character and a
6 > space character take the same number of bytes, so it takes two-to-eight
7 > times
8 > as much space per indentation to store the same indentation as a single tab
9 > character. On the average project that can add up to several kilobytes of
10 > difference. Furthermore, it completely _prevents_ collaborators from
11 > enjoying a
12 > bit of customization as to the amount of indentation. If I like my
13 > indentation
14 > to be two spaces, and you like yours to be four, then we can each set
15 > our text
16 > editors that way and continue to happily share code that uses tabs for
17 > indentation.
18 >
19 > I disagree with both PEP8 and Gentoo SOC styles on the matter. I would
20 > love it
21 > if someone could explain to me the actual benefit of using spaces over
22 > tabs.
23
24 FWIW, I feel the same way.
25
26 - --
27 Thanks,
28 Zac
29 -----BEGIN PGP SIGNATURE-----
30 Version: GnuPG v2.0.9 (GNU/Linux)
31
32 iEYEARECAAYFAkk7HbgACgkQ/ejvha5XGaPBmwCfdGEMZR7iegoVmfzCicNP/omE
33 WV8AoORjzg8IHtbAzVvEs1QJydiPXBKF
34 =VoL/
35 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-portage-dev] Python style (Was: equery refactorization) Douglas Anderson <dja@××××××.com>