Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51624
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joshua.landau.ws@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'read.': 0.03; 'anyway.': 0.05; 'alignment': 0.07; 'preference': 0.07; 'coding,': 0.09; 'seemed': 0.09; 'worse': 0.09; 'developer': 0.10; 'python': 0.11; '>>': 0.16; '8px': 0.16; 'aligned.': 0.16; 'code?': 0.16; 'columns': 0.16; 'fine.': 0.16; 'strange,': 0.16; '\xc2\xa0i': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'coding': 0.22; 'email addr:gmail.com>': 0.22; 'switched': 0.24; 'tend': 0.24; 'helpful': 0.24; 'initial': 0.24; 'people,': 0.24; "i've": 0.25; '>': 0.26; 'tables': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'thus': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'easier': 0.31; 'lines': 0.31; 'indentation': 0.31; 'stuff': 0.32; 'open': 0.33; 'to:name:python-list': 0.33; 'maybe': 0.34; 'except': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'maintained': 0.36; 'useful': 0.36; 'should': 0.36; 'level': 0.37; 'easily': 0.37; 'skip:& 10': 0.38; 'stopped': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'read': 0.60; 'helps': 0.61; 'simply': 0.61; 'personal': 0.63; 'such': 0.63; 'july': 0.63; 'skip:n 10': 0.64; 'more': 0.64; 'close': 0.67; 'burden': 0.68; 'day': 0.76; 'fonts': 0.84; 'visually': 0.84; 'edwards': 0.91; 'mean.': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=Fs8Xg3KEqlZxd83bRnJYf5VeVhjVFEpgxpSkvwIWjuM=; b=nV8Yd7SpESt2Uj3R4BVPAOP41JUMY5SrzNCLZ78iBhmqqghSTVhpt5ty5Njlx7wa0p bbM1TZpIO511bHm1rbewqbmrl1e2+REEoYiNRI543daIssNiNv9ZCrYa2fviVyno3oca b1/wXCN5tODQR8C9GFOvmPKSdf5SEXhw3A3gT/qxVRMkG4HkfZ3TTWI8AlwYhIeoSA4G iT5wRwVRtJLqfhSiPOzEUZ7tgO1fjJrvQKkYyo8Z3M+onEeEj2cDzfzMAyV7FZgrNmsi cKzR81RcvOHbgKS1ktbNtOijtzf9QmJkQmEaAy+mbrlWgOkPKLsYLzLl9EYGmIBNRIIi wIBg== |
| X-Received | by 10.112.160.74 with SMTP id xi10mr12549950lbb.63.1375251452872; Tue, 30 Jul 2013 23:17:32 -0700 (PDT) |
| MIME-Version | 1.0 |
| Sender | joshua.landau.ws@gmail.com |
| In-Reply-To | <kt8ugu$jj0$1@reader1.panix.com> |
| References | <51F6C5F5.5020201@Gmail.com> <CAPM-O+y++Q499zgYBGxTdPhLX9D_CfOwHnRTTo+ncQrPVFpD7g@mail.gmail.com> <mailman.5265.1375129503.3114.python-list@python.org> <51f6e1d8$0$30000$c3e8da3$5496439d@news.astraweb.com> <51F6ED13.5010508@Gmail.com> <EB2D8574-23DC-408F-B87E-A0B84B6DC7FF@leafe.com> <kt8rul$qvv$1@ger.gmane.org> <mailman.5331.1375206170.3114.python-list@python.org> <kt8ugu$jj0$1@reader1.panix.com> |
| From | Joshua Landau <joshua@landau.ws> |
| Date | Wed, 31 Jul 2013 07:16:52 +0100 |
| X-Google-Sender-Auth | RY8Rj3Z5s9t3-NsPua6M5vjRFCU |
| Subject | Re: PEP8 79 char max |
| To | python-list <python-list@python.org> |
| Content-Type | multipart/alternative; boundary=001a11c3421e534b8104e2c8aed5 |
| 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 | <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.5351.1375251462.3114.python-list@python.org> (permalink) |
| Lines | 129 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1375251462 news.xs4all.nl 15988 [2001:888:2000:d::a6]:46713 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:51624 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On 30 July 2013 18:52, Grant Edwards <invalid@invalid.invalid> wrote:
> On 2013-07-30, Joshua Landau <joshua@landau.ws> wrote:
> > On 30 July 2013 18:08, Vito De Tullio <vito.detullio@gmail.com> wrote:
> >
> >> Ed Leafe wrote:
> >>
> >> > I had read about a developer who switched to using proportional fonts
> for
> >> > coding, and somewhat skeptically, tried it out. After a day or so it
> >> > stopped looking strange, and after a week it seemed so much easier to
> >> > read.
> >>
> >> By my (limited) experience with proportional fonts, they can be useful
> only
> >> with something like elastic tabstops[0]. But, as a general rule, I
> simply
> >> found more "squared" to just use a fixed-width font.
> >>
> >
> > Not if you give up on the whole "aligning" thing.
>
> You don't think that Python code at a given level should all be
> aligned? I find it very helpful when a given block of code is
> visually left-aligned.
>
I don't understand what you mean. My coding practices almost never require
anything more than the initial indentation to have things line up -- any
other form of alignment is in my opinion overrated. Maybe it helps you, but
personally I don't like it.
As I've been saying, the whole thing is personal preference and
proportional fonts for some people, such as I, are fine. Except in that
there are no good proportional fonts at 8px :(.
To explain, I tend to take the "HTML" form of alignment by wrapping:
open stuff stuff stuff close
to
open
stuff
stuff
stuff
close
and thus everything important lines up anyway. Extra non-indentation
indents are a burden for me and look worse (again, personal preference).
I also find intializers for tables of data to be much more easily read
> and maintained if the columns can be aligned.
>
Why do you have tables in your Python code?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: PEP8 79 char max Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 16:24 -0400
Re: PEP8 79 char max Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-29 21:42 +0000
Re: PEP8 79 char max Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 18:30 -0400
Re: PEP8 79 char max Ed Leafe <ed@leafe.com> - 2013-07-29 17:54 -0500
Re: PEP8 79 char max Vito De Tullio <vito.detullio@gmail.com> - 2013-07-30 19:08 +0200
Re: PEP8 79 char max Joshua Landau <joshua@landau.ws> - 2013-07-30 18:42 +0100
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-07-30 17:52 +0000
Re: PEP8 79 char max Joshua Landau <joshua@landau.ws> - 2013-07-31 07:16 +0100
Re: PEP8 79 char max Tim Chase <python.list@tim.thechases.com> - 2013-07-31 05:56 -0500
Re: PEP8 79 char max Neil Cerutti <neilc@norwich.edu> - 2013-07-31 13:02 +0000
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-07-31 16:35 +0000
Re: PEP8 79 char max Marcelo MD <lists.md@gmail.com> - 2013-07-31 14:45 -0300
Re: PEP8 79 char max Neil Cerutti <neilc@norwich.edu> - 2013-07-31 17:59 +0000
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-07-31 18:16 +0000
Re: PEP8 79 char max Neil Cerutti <neilc@norwich.edu> - 2013-07-31 18:37 +0000
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-07-31 18:56 +0000
Re: PEP8 79 char max Neil Cerutti <neilc@norwich.edu> - 2013-07-31 19:25 +0000
RE: PEP8 79 char max "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-07-31 18:33 +0000
Re: PEP8 79 char max Skip Montanaro <skip@pobox.com> - 2013-07-31 13:05 -0500
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-07-31 16:32 +0000
Re: PEP8 79 char max Tim Chase <python.list@tim.thechases.com> - 2013-07-31 13:19 -0500
Re: PEP8 79 char max Tim Chase <python.list@tim.thechases.com> - 2013-07-31 13:24 -0500
Re: PEP8 79 char max Joshua Landau <joshua@landau.ws> - 2013-08-01 18:21 +0100
Re: PEP8 79 char max Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-01 19:03 +0000
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-08-01 19:29 +0000
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-08-01 19:53 +0000
Re: PEP8 79 char max Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-08-01 20:39 -0400
Re: PEP8 79 char max Grant Edwards <invalid@invalid.invalid> - 2013-08-02 13:58 +0000
Re: PEP8 79 char max Wayne Werner <wayne@waynewerner.com> - 2013-08-03 06:23 -0500
Re: PEP8 79 char max Metallicow <metaliobovinus@gmail.com> - 2013-09-05 15:21 -0700
Re: PEP8 79 char max Terry Reedy <tjreedy@udel.edu> - 2013-09-05 21:47 -0400
Re: PEP8 79 char max Metallicow <metaliobovinus@gmail.com> - 2013-09-05 19:59 -0700
Re: PEP8 79 char max Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-06 04:01 +0000
Re: PEP8 79 char max Metallicow <metaliobovinus@gmail.com> - 2013-09-05 21:21 -0700
Re: PEP8 79 char max Metallicow <metaliobovinus@gmail.com> - 2013-09-06 06:34 -0700
Re: PEP8 79 char max Metallicow <metaliobovinus@gmail.com> - 2013-09-06 09:07 -0700
Re: PEP8 79 char max Skip Montanaro <skip@pobox.com> - 2013-09-06 05:09 -0500
Re: PEP8 79 char max Tim Chase <python.list@tim.thechases.com> - 2013-09-06 05:35 -0500
Re: PEP8 79 char max Tim Delaney <timothy.c.delaney@gmail.com> - 2013-09-06 20:47 +1000
Re: PEP8 79 char max Metallicow <metaliobovinus@gmail.com> - 2013-09-06 05:24 -0700
Re: PEP8 79 char max Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-06 19:22 -0400
Re: PEP8 79 char max Tim Chase <python.list@tim.thechases.com> - 2013-09-06 07:56 -0500
Re: PEP8 79 char max Neil Cerutti <neilc@norwich.edu> - 2013-09-06 13:12 +0000
Re: PEP8 79 char max Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-06 03:40 +0000
Re: PEP8 79 char max Metallicow <metaliobovinus@gmail.com> - 2013-09-05 21:19 -0700
Re: PEP8 79 char max Serhiy Storchaka <storchaka@gmail.com> - 2013-09-07 21:00 +0300
Re: PEP8 79 char max Vito De Tullio <vito.detullio@gmail.com> - 2013-07-30 20:00 +0200
csiph-web