Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: PEP8 and 4 spaces Date: Fri, 04 Jul 2014 17:54:50 +0300 Organization: A noiseless patient Spider Lines: 16 Message-ID: <877g3tdvid.fsf@elektro.pacujo.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx05.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="21399"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mk4YFQFSymgFlDXG2M4WY" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:ESXg8kSpsPsxSMTJlbEuVWo9ejc= sha1:b6dZyy7AVKeQU8Zz8MS/t+oaaIc= Xref: csiph.com comp.lang.python:73958 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. Marko