Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74051
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <drsalists@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.012 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'warnings': 0.04; 'anymore.': 0.09; 'converted': 0.09; 'spaces': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'pep8': 0.16; 'slight': 0.16; 'tabs': 0.16; 'all.': 0.16; 'ignore': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'cc:addr:python.org': 0.22; 'expanded': 0.24; 'cc:2**0': 0.24; 'nearly': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'probably': 0.32; 'stuff': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'files': 0.38; 'sure': 0.39; 'how': 0.40; 'most': 0.60; 'personal': 0.63; 'finally': 0.65; 'fact,': 0.69; 'miss': 0.74; 'jul': 0.74; 'gospel': 0.84 |
| 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:to :cc:content-type; bh=8++nval7FpKDiBqyk3soiggcBMWh8Sv1CmUl/w4dkM8=; b=X74XWqUSOtBUx2OLcesizvS0TwtUK0SFcX4+atkyeMJWi6Ra3OTaQCq0TbpxpnAJGU id79HgJLjqMhOxc45mVjIBoWuryyXyjvwW+kIK//v1F9BSUaMW6cn4FFARATcW/J3A0W LA774tDSYsS1lxNUVuIN9s3MHSdN38JhQbBnIBGtd3JPgKqKwO3mN8OaqjiFqxTk8NB9 WPBnoYrxgs1m4N4ftGO674YuprUlwRWrhbnSMzZB6MUxvpjwAMPeEX6k/Cp2Y1mumiiJ 2l+H1D6p/VuOl2YPSPpcybkz/RWXxhvfeCtX6PNJpQhNZdy55bowV7Nl7HVU9pzK0QFP HnHg== |
| MIME-Version | 1.0 |
| X-Received | by 10.220.80.70 with SMTP id s6mr4225904vck.44.1404674718044; Sun, 06 Jul 2014 12:25:18 -0700 (PDT) |
| In-Reply-To | <53B59358.2040404@tobiah.org> |
| References | <53B59358.2040404@tobiah.org> |
| Date | Sun, 6 Jul 2014 12:25:17 -0700 |
| Subject | Re: PEP8 and 4 spaces |
| From | Dan Stromberg <drsalists@gmail.com> |
| To | Tobiah <tshepard@rcsreg.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | "python-list@python.org" <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 <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.11557.1404674726.18130.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1404674726 news.xs4all.nl 2907 [2001:888:2000:d::a6]:50981 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:74051 |
Show key headers only | View raw
On Thu, Jul 3, 2014 at 10:31 AM, Tobiah <tshepard@rcsreg.com> wrote: > Coworker takes PEP8 as gospel and uses 4 spaces > to indent. I prefer tabs. I recently converted from tabs to spaces. I probably still have some code that uses tabs, but most of my personal stuff has been converted. I like tabs. Tabs work better for me than spaces, because I know how to use them. Also, some "make" tools insist on tabs. Also, where many people like 4 spaces or 8 spaces, I prefer tabs expanded to 3 columns. But I finally acknowledged that some very smart people don't understand tabs, or don't want to learn how to use them. Also, I figured out how to get python files to use spaces and Makefile's to use tabs, using some slight vim configuration. So I'm using 4 spaces now. It's nice not having to ignore the relevant pep8 and pylint warnings anymore. And I don't miss tabs nearly as much as I thought I would. In fact, I'm not sure I miss them at all.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: PEP8 and 4 spaces Dan Stromberg <drsalists@gmail.com> - 2014-07-06 12:25 -0700 Re: PEP8 and 4 spaces Roy Smith <roy@panix.com> - 2014-07-06 15:34 -0400
csiph-web