Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; 'preference': 0.07; 'decision.': 0.09; 'instance.': 0.09; 'pep': 0.09; 'spaces': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.11; 'suggest': 0.14; 'windows': 0.15; 'blocks': 0.16; 'consistency.': 0.16; 'pep8': 0.16; 'rules.': 0.16; 'subject:Line': 0.16; 'tabs': 0.16; 'url:linux': 0.16; 'code.': 0.18; 'bit': 0.19; 'coding': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'quickly': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'that.': 0.31; 'horizontal': 0.31; 'maintaining': 0.32; '(2)': 0.35; 'case,': 0.35; 'received:google.com': 0.35; 'curious': 0.36; 'i.e.': 0.36; 'subject:?': 0.36; 'should': 0.36; 'two': 0.37; 'e.g.': 0.38; 'major': 0.40; 'even': 0.60; 'free': 0.61; 'taking': 0.65; 'finally': 0.65; 'url:c': 0.67; 'content,': 0.68; 'readers': 0.68; 'good!': 0.84; 'subject:Using': 0.84; 'url:master': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aahan.me; s=aahan-me; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wC2et+Uuh7IurYPYF0woKfAN9JOtUlwuqY7QVaPPzsk=; b=BR+W9r+SQRdMhJ8lBMTqSgTlXn211NG6K9IluUGphqBYrzpb3HGE1sYaCrhv8Eweak Oi9iM7HhSOj/qEuLsh7G8F3vc2WkOIxrQOWxprLaDRY6v2NaTk3eJ+Bh+c1oVVrZ3bI5 0EYHEGf8IZiVLKuen6S7HzeNsRQ5vcey+7FnA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wC2et+Uuh7IurYPYF0woKfAN9JOtUlwuqY7QVaPPzsk=; b=SSdTUAPt5DfCg9KzSQVKfDTIeKdjI4yJFBCfuA4Nwbg3/iITmd8C1HzuwNnB0wOi2f PW23Ox9WuULQXH3idG4pt5/l1SVfeSecLG+8ahW3n1BDH/l61SK/Z58THC9RuDTyZht3 fh+is46IcZB1hjcupmIYdGw+TfzNm+0rHYN0XDazId8+rWfTFhezVZBL0nihdt1B4uz+ WSp/yPR6dwT0+RISjHie3pY6+R2oqF2i7rsKsK+oEvfnYUKoRRwL4fhndqLghqEs9rNu djHjY7/lKFGweNoFyUxHI6r0f0IPivo/U8RZoh03zx5DOYWaFQNODbcUP0sSZlVG/+Fr +qoQ== X-Gm-Message-State: ALoCoQn7NxAOHIoEib8kjor89NoOGQhOAQxiQW3vdoj+sLwk4aCJnc6gbxh1Vg4EawniGxOwHWO8 MIME-Version: 1.0 X-Received: by 10.170.170.87 with SMTP id m84mr31997289ykd.106.1418013541973; Sun, 07 Dec 2014 20:39:01 -0800 (PST) X-Originating-IP: [106.51.198.53] In-Reply-To: References: Date: Mon, 8 Dec 2014 04:39:01 +0000 Subject: Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces? From: Aahan Krish To: Ned Batchelder Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418013550 news.xs4all.nl 2916 [2001:888:2000:d::a6]:40227 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82098 Hi Ned, > I'm curious why you care about the "79 characters" part of PEP8 if you do= n't care about the "use spaces" part of PEP8. It's just that I don't like arbitrary rules. IMHO, spaces aren't "better than" tabs, and people should refrain from saying that. Both have their fair bit of disadvantages and it finally comes down to personal/team preference or consistency. I like tabs because they are flexible. As of now I am still considering spaces for two reasons=E2=80=94(1) maintaining a standard line-length of 79-120 characters; (2) Even if I use tabs, I "may" need spaces for aligning. I have no major projects now, so I am free to decide, and am taking my time for a well-thought decision. As for why I care the "79 chars" part of PEP 8: - Coding in terminals and VIM with multiple windows open. - Avoiding horizontal scrollbars for code blocks on the web; GitHub for instance. E.g. https://github.com/torvalds/linux/blob/master/kernel/async.c -- That is good! - Readability; The same reason why people suggest "short paragraphs", i.e. allow readers to quickly go through your content, or in my case, code. Best, Aahan