Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'fixes': 0.07; 'preference': 0.07; 'expected.': 0.09; 'mixed': 0.09; 'run,': 0.09; 'spaces': 0.09; 'warn': 0.09; 'worse': 0.09; 'runs': 0.10; 'mostly': 0.14; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'tabs': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'adds': 0.24; 'align': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'code': 0.31; 'lines': 0.31; 'seemingly': 0.31; 'run': 0.32; 'another': 0.32; 'bugs': 0.33; 'style': 0.33; 'screen': 0.34; 'but': 0.35; 'should': 0.36; 'two': 0.37; 'message-id:@gmail.com': 0.38; 'writes': 0.38; 'to:addr :python-list': 0.38; 'does': 0.39; 'bad': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; "you'll": 0.62; 'personal': 0.63; 'such': 0.63; 'more': 0.64; 'hard.': 0.84; 'edwards': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sat, 05 Jul 2014 16:03:16 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: PEP8 and 4 spaces References: <877g3tdvid.fsf@elektro.pacujo.net> In-Reply-To: <877g3tdvid.fsf@elektro.pacujo.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404599538 news.xs4all.nl 2863 [2001:888:2000:d::a6]:37232 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73998 On 07/04/2014 08:54 AM, Marko Rauhamaa wrote: > Grant Edwards : > >> Definitely. Indenting with tabs vs. spaces is mostly personal >> preference (though spaces are better!). But, mixing the two is right >> out, and should be stomped on hard. > > Often one person writes the code and another person fixes bugs in it or > adds features to it. So if one uses tabs and the other refrains from > using them, you'll get the mixed style you abhor. > > Even if we accepted that to be bad style, there's nothing on the screen > that would warn against such usage: the lines seemingly align perfectly, > and the code runs as expected. Or more likely the lines seemingly align perfectly and the code does not compile and run, or worse it does run but does not do the right thing.