FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Portage Developer

 
 
LinkBack Thread Tools
 
Old 12-06-2008, 10:21 PM
"Michael A. Smith"
 
Default Python style (Was: equery refactorization)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Actually I don't like spaces for indentation at all. A tab character and a
space character take the same number of bytes, so it takes two-to-eight times
as much space per indentation to store the same indentation as a single tab
character. On the average project that can add up to several kilobytes of
difference. Furthermore, it completely _prevents_ collaborators from enjoying a
bit of customization as to the amount of indentation. If I like my indentation
to be two spaces, and you like yours to be four, then we can each set our text
editors that way and continue to happily share code that uses tabs for indentation.

I disagree with both PEP8 and Gentoo SOC styles on the matter. I would love it
if someone could explain to me the actual benefit of using spaces over tabs.

I'll reply to the rest of the equery refactorization thread in a different email.

- -Michael

Douglas Anderson wrote:
|> [1] http://code.google.com/p/soc/wiki/PythonStyleGuide
|>
|
| I'm with you there, I really like that style guide as well. We should
| adopt it
|
| -Doug

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk7COYACgkQzwtr5yY0JZyGFwCcCAI1oRKkfK 0W1d5U5AQBQ4D8
fooAoIQS8sH+KRdT8e9TgJ4nXOYXKgae
=71ob
-----END PGP SIGNATURE-----
 

Thread Tools




All times are GMT. The time now is 12:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org