Path: csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!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.054 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'broken': 0.04; 'subject:Python': 0.06; '21,': 0.07; 'thus,': 0.09; 'assume': 0.14; '"build': 0.16; 'code?': 0.16; 'distinct': 0.16; 'pause': 0.16; 'rather,': 0.16; 'thought.': 0.16; 'wrote:': 0.18; 'thoughts': 0.19; 'appears': 0.22; 'saying': 0.22; 'separate': 0.22; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'lines': 0.31; 'monday,': 0.33; 'maybe': 0.34; 'point.': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'view,': 0.36; 'should': 0.36; 'two': 0.37; 'represent': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'above,': 0.60; 'applicable': 0.60; 'blank': 0.60; 'ian': 0.60; 'new': 0.61; 'complete': 0.62; 'more': 0.64; 'different': 0.65; 'within': 0.65; 'between': 0.67; 'line,': 0.68; 'subject:there': 0.68; 'inherent': 0.84; 'kennedy': 0.84; 'single,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=E1+ik//orH0tHU6Pp5WuEdK4JGM7+9aGXHwZPX0C1Wc=; b=Zeg+LApTkZ8rNL+4wEW2Wu/6sOAGv3OOgPQN1sYzVkQf0L8y6j6sJJVYIlDSEjxRVk gX+AIwOdn/HRco9Nt5R8qeiLCQjMEX5mGdJc7WIzPY25TNZpyO1+XpLLZeMsnzVRLT3c gQ3jS5urTM2tKkIvuITDs9Ysiek8Y63tB0sRDaw+g/8tfjBcE0+ru/SxZlzv3DZMfnJR 7mHxAbCXeGQygW8sTjh+wZVwo8UuCW1RKYAvzQFVSmTXv5i90naYYfxiottzHQw6hdBW wu7WoHvGfr4OzrXiNN0Crcvvwrw8dZiH6h9G7TdFeNJoe+sj5Y30AJz70PBM4+qoY6Lk U9jA== X-Received: by 10.70.49.68 with SMTP id s4mr37311731pdn.6.1413911391624; Tue, 21 Oct 2014 10:09:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <521b537d-c119-4858-8880-d1e1ddb76b55@googlegroups.com> References: <9a0c67be-de3a-4770-bf06-e158783bfff0@googlegroups.com> <54424691$0$12978$c3e8da3$5496439d@news.astraweb.com> <521b537d-c119-4858-8880-d1e1ddb76b55@googlegroups.com> From: Ian Kelly Date: Tue, 21 Oct 2014 11:09:11 -0600 Subject: Re: Is there an easy way to control indents in Python To: Python 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413911395 news.xs4all.nl 2975 [2001:888:2000:d::a6]:50872 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79389 On Tue, Oct 21, 2014 at 2:45 AM, Simon Kennedy wrote: > On Monday, 20 October 2014 18:56:05 UTC+1, Ian wrote: >> Rather, I'm saying that where the blank line is should be the start of >> a new function. There would still be a blank line, just no longer >> inside the function. >> >> Now, maybe you think there should be more blank lines in the above, in >> which case we'll just have to disagree on that point. > > Why did you separate the above 2 sequences of thoughts by a blank line? Is the inherent pause in the communication of your thoughts not also applicable to your code? > > Where we see the pause between thoughts appears to be in a different place. I see them both within the function and between the functions and I assume you see them between the functions only. That makes sense. I see two distinct thoughts in the function that I posted: "build the graph" and "search the graph". The blank line separates them. By my view, a function should represent a single, complete thought. Thus, the function should be broken up at the blank line.