Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'configure': 0.05; 'funny,': 0.09; 'spaces': 0.09; 'things,': 0.09; 'cc:addr:python- list': 0.11; 'caring': 0.16; 'competent': 0.16; 'editor,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'happy,': 0.16; 'programmer,': 0.16; 'rough': 0.16; 'utterly': 0.16; 'wrote:': 0.18; 'basically': 0.19; 'code,': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'right.': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'up:': 0.31; 'stuff': 0.32; 'fri,': 0.33; 'style': 0.33; "i'd": 0.34; 'point.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'surely': 0.36; 'possible': 0.36; 'planning': 0.38; 'expect': 0.39; 'bad': 0.39; 'either': 0.39; 'how': 0.40; "you're": 0.61; 'back': 0.62; 'valuable': 0.63; 'account': 0.65; 'lose': 0.68; 'jul': 0.74; 'guides.': 0.84; 'beings': 0.91; 'to:none': 0.92; 'differences': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=hRHJoe3nV2NRkgfYb7+90qHTetooSCv+ZVh7WDwVAqI=; b=erP/Ry7mwtcahMqVf9a5UDDGi6NOgWXTApuPPPuRyFu0e27SRzYY+erPXfeKbVlqr1 EfOfPcg33e1b/r4NzmqOi0GNRuw7niEnwsFP62cGtkl0EIW5mDy27zYTGQ+0INDnhSn3 ika49UbWdAWFdYOVrj48agb8gyPpJqWJv3czR5c3AvVmfzl71GE5NY75DfYv9nd4KBeq FWwkNpIwhC1vMAehH3fjkghabgpYekkLn64+i8kdGOCUffSzp2dCgjcxmBB7oJEONOUa yAyAxLN9g3ODzTKEhyfXWwxOYQ8RQAQbHCa6NIIVCqi1UlcVJeqaE44BktFU1uGpmpQg R8lQ== MIME-Version: 1.0 X-Received: by 10.221.9.72 with SMTP id ov8mr6873274vcb.27.1404437412415; Thu, 03 Jul 2014 18:30:12 -0700 (PDT) In-Reply-To: <53b6019f$0$29985$c3e8da3$5496439d@news.astraweb.com> References: <53B59358.2040404@tobiah.org> <53b6019f$0$29985$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 4 Jul 2014 11:30:12 +1000 Subject: Re: PEP8 and 4 spaces From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404437416 news.xs4all.nl 2943 [2001:888:2000:d::a6]:33158 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73933 On Fri, Jul 4, 2014 at 11:21 AM, Steven D'Aprano wrote: >> Summing up: if you care about other human beings, use spaces. If you >> don't care about other human beings, you may use tabs, but other human >> beings surely will take how you treat them into account ;-). > > Ha ha, that's funny, I would have said the opposite: if you care about > keeping tools that expect spaces happy, use spaces, if you care about > allowing people to configure the look of your code, or poor unfortunates > who aren't using a programmer's editor, use tabs. Right. And hey. If you're a sufficiently competent programmer, you CAN get away with not caring about other human beings: either because you're so utterly valuable that people accept you despite your rough edges... or because you just script away the differences :) Now, if your *boss* doesn't understand about these things, it's possible to lose your job over stupid stuff like style guides. Although to be fair, I'd been planning to quit for a long time, and the style guide was the last in a long line of problems, so when I kicked back and said basically "No, your style guide is a bad idea", it ended up with us parting ways. But that's a separate point. ChrisA