grnd / python-patch

Automatically exported from code.google.com/p/python-patch
0 stars 0 forks source link

Google style guide....? #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Anatoly:
I know that "inside" you still use the high density two spaces indentation, but 
I was wondering if the updated public style guide could make sense 
indentation-wise?
http://google-styleguide.googlecode.com/svn/trunk/pyguide.html#Indentation

I know this is a silly request... ignore and close asap if you feel so.

Original issue reported on code.google.com by pombreda...@gmail.com on 3 Mar 2014 at 8:17

GoogleCodeExporter commented 8 years ago
I don't use tab key, so typing 4 spaces is more bothersome, but sometimes I 
indeed use 3 and 4 space indentation and for public projects 4 space is better 
for the reasons stated here 
http://legacy.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgobl
in-of-little-minds

But going now for 4 space reindent will make it harder to compare different 
versions of patch.py for people who maintain independent forks. I don't say it 
won't happen, but there should be a major rewrite to make it real.

So, yes, increasing readability is not a silly request, but I have to close it 
ASAP for now. I will consider this point in future.

Original comment by techtonik@gmail.com on 3 Mar 2014 at 8:55