Re:Python best practices
by bkovitz on Wednesday July 09, 2008 @06:17PM
(#241749)
Awww, I like 3! 3 makes the tab levels very distinct, without wasting space. Of course it's just a matter of personal preference. But, is 4 really a widespread standard in the Python world?
[ Parent
| on HN ]
Re:Python best practices
by danohuiginn on Thursday July 10, 2008 @04:28AM
(#242187)
"is 4 really a widespread standard in the Python world?"
yes.
http://www.python.org/dev/peps/pep-0008/
I am so sad to see this. Thanks for posting it, though. Maybe I'll...ghhk..ekkk...switch. I went through the entire PEP and found that I'm following every other convention but two (multiple imports on one line, and I seldom write docstrings).