Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9677
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!feeder.news-service.com!xlned.com!feeder7.xlned.com!news2.euro.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.061 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'tab': 0.07; 'worse': 0.07; 'broken': 0.12; 'wrote:': 0.15; 'both.': 0.16; 'columns': 0.16; 'objectively': 0.16; 'plethora': 0.16; '16,': 0.16; 'tries': 0.16; 'pm,': 0.16; 'simpler': 0.19; 'input': 0.21; 'pointed': 0.22; 'header:In-Reply-To:1': 0.22; 'indentation': 0.23; 'long.': 0.23; 'personally,': 0.23; 'code': 0.24; 'later': 0.26; 'somebody': 0.28; 'sat,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'problem': 0.29; 'this.': 0.31; 'lines': 0.31; 'pure': 0.32; 'too': 0.32; "i've": 0.33; 'to:addr:python-list': 0.34; 'there': 0.34; 'reasons': 0.34; 'yet,': 0.35; 'pretty': 0.35; 'uses': 0.35; 'file': 0.36; 'but': 0.37; 'using': 0.37; 'another': 0.38; 'received:google.com': 0.38; 'received:209.85.161': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'steven': 0.38; 'think': 0.38; 'problems': 0.38; 'to:addr:python.org': 0.39; 'might': 0.39; 'received:209': 0.40; 'mandate': 0.67; 'flow': 0.68; 'spaces': 0.73; 'subject:have': 0.74; 'adhere': 0.84; 'alternative.': 0.84; 'defeat': 0.84; 'laid': 0.84; 'spaces.': 0.84; 'subject:should': 0.84; 'device,': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=mydxNg9PbXRqIViBw+3O1W07F9Gf1KzrklGUneH2L2Y=; b=b3grpAmTk+wZ36FJKAKp/1eVJ3Wz9XW/Y3waGpWU6fnXB1Px5dTzIYQ05NHaA/j30K h0MFHWx1bqn9LGWXMBOLd9qnt1jrMbB5Rvv63j6HQXsqDznxE6AXsepe6Z/psZ4k5LeQ kZe4DtF/PSVLXlDfeOKtPGJgX9Z7zaV2vWtKo= |
| MIME-Version | 1.0 |
| In-Reply-To | <4e225255$0$29990$c3e8da3$5496439d@news.astraweb.com> |
| References | <cfbc97eb-29a2-488c-ab62-e0364f752e68@t7g2000vbv.googlegroups.com> <mailman.1142.1310860370.1164.python-list@python.org> <4e225255$0$29990$c3e8da3$5496439d@news.astraweb.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Sun, 17 Jul 2011 01:32:59 -0600 |
| Subject | Re: Tabs -vs- Spaces: Tabs should have won. |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1155.1310888010.1164.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1310888010 news.xs4all.nl 23844 [2001:888:2000:d::a6]:36175 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:9677 |
Show key headers only | View raw
On Sat, Jul 16, 2011 at 9:09 PM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: >> Personally, I like to use the tab _key_ as an input device, but to have >> my editor write real spaces to the file in consequence. With pure >> spaces, the text is laid out reliably for us both. And so I have my >> editor set to that behaviour. > > I have reluctantly come to do the same thing. There is a plethora of broken > tools out there that don't handle tabs well, and consequently even though > tabs for indentation are objectively better, I use spaces because it is > less worse than the alternative. This. I used to think that tabs were better, for pretty much the reasons Rick outlined, but I've had enough problems with editors munging my tabs that I eventually found it simpler in practice to just go with the flow and use spaces. Of course, there is also another major problem with tabs that I have not seen pointed out yet, which is that it's not possible to strictly adhere to 80-column lines with tabs. I can write my code to 80 columns using 4-space tabs, but if somebody later tries to edit the file using 8-space tabs, their lines will be too long. Rick's answer to this might be to just mandate that everybody uses 4-space tabs, but then this would pretty much defeat the purpose of using tabs in the first place.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-16 09:51 -0700
Re: feeding the troll (was: Tabs -vs- Spaces: Tabs should have won.) Tim Chase <python.list@tim.thechases.com> - 2011-07-16 12:52 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-16 17:59 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Tim Roberts <timr@probo.com> - 2011-07-16 16:06 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 02:29 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Tim Roberts <timr@probo.com> - 2011-07-18 22:36 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-17 01:39 -0600
Re: Tabs -vs- Spaces: Tabs should have won. Cameron Simpson <cs@zip.com.au> - 2011-07-17 09:52 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-17 13:09 +1000
Re: Tabs -vs- Spaces: Tabs should have won. anand jeyahar <anand.ibmgsi@gmail.com> - 2011-07-17 09:29 +0530
Re: Tabs -vs- Spaces: Tabs should have won. Cameron Simpson <cs@zip.com.au> - 2011-07-17 14:12 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-17 01:32 -0600
Re: Tabs -vs- Spaces: Tabs should have won. TheSaint <no@nowhere.net.no> - 2011-07-17 21:12 +0800
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 08:15 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Tim Chase <python.list@tim.thechases.com> - 2011-07-17 13:22 -0500
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 12:49 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-17 12:48 -0600
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 12:54 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-17 16:02 -0600
Re: Tabs -vs- Spaces: Tabs should have won. Roy Smith <roy@panix.com> - 2011-07-17 19:29 -0400
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 18:55 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Roy Smith <roy@panix.com> - 2011-07-17 20:28 -0400
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 19:48 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 19:50 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Mel <mwilson@the-wire.com> - 2011-07-17 21:06 -0400
Re: Tabs -vs- Spaces: Tabs should have won. Mel <mwilson@the-wire.com> - 2011-07-17 21:06 -0400
Re: Tabs -vs- Spaces: Tabs should have won. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-18 11:01 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-18 11:12 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Ben Finney <ben+python@benfinney.id.au> - 2011-07-18 11:42 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-07-18 18:26 +1200
Re: Tabs -vs- Spaces: Tabs should have won. Tim Chase <python.list@tim.thechases.com> - 2011-07-18 05:52 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Duncan Booth <duncan.booth@invalid.invalid> - 2011-07-18 13:52 +0000
Re: Tabs -vs- Spaces: Tabs should have won. MRAB <python@mrabarnett.plus.com> - 2011-07-18 17:59 +0100
Re: Tabs -vs- Spaces: Tabs should have won. Roy Smith <roy@panix.com> - 2011-07-18 19:07 -0400
Re: Tabs -vs- Spaces: Tabs should have won. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-19 00:59 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Dave Angel <davea@ieee.org> - 2011-07-18 13:11 -0400
Re: Tabs -vs- Spaces: Tabs should have won. python@bdurham.com - 2011-07-18 08:33 -0400
Re: Tabs -vs- Spaces: Tabs should have won. gene heskett <gheskett@wdtv.com> - 2011-07-18 10:12 -0400
Re: Tabs -vs- Spaces: Tabs should have won. tinnews@isbd.co.uk - 2011-07-18 10:49 +0100
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-18 21:51 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-18 14:06 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Chris Angelico <rosuav@gmail.com> - 2011-07-19 05:15 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 02:52 -0500
Re: Tabs -vs- Spaces: Tabs should have won. "Anders J. Munch" <2011@jmunch.dk> - 2011-07-17 11:49 +0200
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 09:53 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Chris Angelico <rosuav@gmail.com> - 2011-07-18 03:11 +1000
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 10:57 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Chris Angelico <rosuav@gmail.com> - 2011-07-18 04:09 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 20:20 +0200
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 12:22 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 22:38 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 22:36 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-18 10:54 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 20:26 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Teemu Likonen <tlikonen@iki.fi> - 2011-07-18 09:00 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Cameron Simpson <cs@zip.com.au> - 2011-07-18 08:14 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-17 21:44 +0200
Re: Tabs -vs- Spaces: Tabs should have won. "Anders J. Munch" <2011@jmunch.dk> - 2011-07-18 20:19 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-07-18 10:06 +1200
Re: Tabs -vs- Spaces: Tabs should have won. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-18 18:58 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-16 19:29 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-17 13:07 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-16 22:20 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 09:56 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 03:36 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 11:33 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 05:02 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 12:42 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-17 14:35 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 17:03 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-17 21:10 +0200
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 09:46 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 18:21 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Chris Angelico <rosuav@gmail.com> - 2011-07-17 10:31 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-07-16 19:27 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 09:35 +0200
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 09:29 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Chris Angelico <rosuav@gmail.com> - 2011-07-18 02:50 +1000
Re: Tabs -vs- Spaces: Tabs should have won. Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-17 12:54 -0600
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 13:12 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Ian Kelly <ian.g.kelly@gmail.com> - 2011-07-17 16:39 -0600
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 18:18 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 11:15 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-17 14:53 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 22:26 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-17 21:53 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 23:46 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-17 03:35 -0500
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 14:11 +0300
Re: Tabs -vs- Spaces: Tabs should have won. rusi <rustompmody@gmail.com> - 2011-07-17 04:21 -0700
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 13:51 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 22:20 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 21:34 +0200
Re: Tabs -vs- Spaces: Tabs should have won. rantingrick <rantingrick@gmail.com> - 2011-07-17 13:22 -0700
Re: Tabs -vs- Spaces: Tabs should have won. gene heskett <gheskett@wdtv.com> - 2011-07-17 10:29 -0400
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-17 17:10 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Corey Richardson <kb1pkl@aim.com> - 2011-07-17 12:28 -0400
Re: Tabs -vs- Spaces: Tabs should have won. Anssi Saari <as@sci.fi> - 2011-07-18 19:28 +0300
Re: Tabs -vs- Spaces: Tabs should have won. Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-07-18 18:51 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-18 19:07 +0200
Re: Tabs -vs- Spaces: Tabs should have won. "Waldek M." <wm@localhost.localdomain> - 2011-07-17 21:39 +0200
Re: Tabs -vs- Spaces: Tabs should have won. Dotan Cohen <dotancohen@gmail.com> - 2011-07-17 22:28 +0300
Re: Tabs -vs- Spaces: Tabs should have won. gene heskett <gheskett@wdtv.com> - 2011-07-17 20:35 -0400
csiph-web