pombreda / pygowave-server

Automatically exported from code.google.com/p/pygowave-server
Apache License 2.0
0 stars 0 forks source link

Code does not follow recommendations from PEP 8 #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
According to PEP 8, python code should use spaces only for indentation and 4 
spaces per 
indentation level.  A cursory glance at the code shows that indendations are 
down with tabs instead.

Please provide any additional information below.
This isn't a big issue, but when the product gains more developers some 
arguments can be 
prevented by adopting the recommended style.

http://www.python.org/dev/peps/pep-0008/

Original issue reported on code.google.com by alfbo...@gmail.com on 8 Jul 2009 at 10:16

GoogleCodeExporter commented 9 years ago
I don't see any advantages in using spaces. In fact there is no real argument 
in PEP 
8. Anyone can configure his text editor to show tabs as 4 spaces just as well. 
So it 
will look the same as with 4 real spaces (if you take readability as an 
argument). A 
small side effect of using tabs is that they take three bytes less space.
So tabs or spaces are only a matter of taste after all. I consequently use tabs 
and 
will convert any spaces I can find into tabs. Period.

Original comment by patrick....@googlemail.com on 21 Jul 2009 at 3:10