Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: PEP8 and 4 spaces Date: Thu, 3 Jul 2014 19:02:48 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 39 Message-ID: References: NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1404414168 3654 64.122.56.22 (3 Jul 2014 19:02:48 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 3 Jul 2014 19:02:48 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:73914 On 2014-07-03, Tobiah wrote: > Coworker takes PEP8 as gospel and uses 4 spaces to indent. I prefer > tabs. Boss want's us to unify. The sole thing you get with spaces > as far as I can tell, is that someone loading the code into Notepad > will still see a 4 character indent. Or any editor at all. > That may be true, but that same person is going to have a difficult > time editing the code. That's true with Notepad, but with dozens of other programming editors, code indented with spaces will read and edit prefectly. Not so for tab-indented code. > Anyway, I gave up the 80 char line length long ago, having little > feeling for some dolt Same to you. > on a Weiss terminal that for some reason needs to edit my code. I > feel rather the same about the spaces and tabs, given that most > people seem to be using editors these days that are configurable to > show tabs a four characters. > > Any evidence out there that this part of PEP8 is becoming more > optional or even obsolete, as I've heard others say about the 80 char > line length? > > Just need ammo for when the hammer of code unification comes down. Just do the right thing and configure your editor to indent with spaces. -- Grant Edwards grant.b.edwards Yow! Am I SHOPLIFTING? at gmail.com