Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42778

Re: In defence of 80-char lines

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jason.swails@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'plenty': 0.07; 'lines:': 0.09; 'pep': 0.09; 'width': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '80.': 0.16; 'cc:name:python list': 0.16; 'defence': 0.16; 'exception:': 0.16; 'url:pep-0008': 0.16; 'url:peps': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'thu,': 0.19; 'email addr:gmail.com&gt;': 0.22; 'cc:addr:python.org': 0.22; 'char': 0.24; 'library,': 0.24; 'stick': 0.24; 'unicode': 0.24; 'url:dev': 0.24; 'cc:2**0': 0.24; '&gt;': 0.26; 'header:In-Reply-To:1': 0.27; 'external': 0.29; 'message-id:@mail.gmail.com': 0.30; 'lines': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'another': 0.32; 'url:python': 0.33; '-----': 0.33; 'projects.': 0.33; 'received:google.com': 0.35; 'there': 0.35; "didn't": 0.36; 'url:org': 0.36; 'skip:& 10': 0.38; 'jason': 0.38; 'pm,': 0.38; 'users': 0.40; 'even': 0.60; 'to:addr:gmail.com': 0.65; 'here': 0.66; 'limit': 0.70; 'skip:n 40': 0.81; 'fonts': 0.84; 'url:03': 0.84; 'url:2013': 0.84; '\xa0there': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=5DVjg2+IFsMKHdoExUDXUAE64WbB3QbkeETFWV4ESiQ=; b=NdfiwguRkVs5yJogniy3sLFJJ5UBRt1OFQcacLGA5nZjd15P2Z+P3WNqd2OHP7yQF+ ok0a2wqDVlFrDLjIHQLhhDxkq8MW1KkcCGiFA9qdW2W1776icISr6q9fHWTVYnB95Yet RWgpKvlzDISFMTLUM1Xi1zW4SivOGe6OmiHdh/+2WkWj7OkTHPhEM7ZBmIJHst+Q0tcS 7XnEH1i9Jw/EPUaUFHf72KmApTmKTq9Zzj+Lx2cWsYSJ+Al4TAgwEDj3yXMwAEKpFX8L 9+VtdK39yPO98TRtrlYyFoUBRRdErgvTLiQZ7A+x7xi2W5vGIiyA1KIUT3+Yw4sbR1F4 84iA==
MIME-Version 1.0
X-Received by 10.50.87.2 with SMTP id t2mr4717756igz.19.1365109253548; Thu, 04 Apr 2013 14:00:53 -0700 (PDT)
In-Reply-To <ce4628bc-b6b3-42d7-9814-6e0957c86167@t5g2000vbm.googlegroups.com>
References <515cd919$0$29966$c3e8da3$5496439d@news.astraweb.com> <ce4628bc-b6b3-42d7-9814-6e0957c86167@t5g2000vbm.googlegroups.com>
Date Thu, 4 Apr 2013 17:00:53 -0400
Subject Re: In defence of 80-char lines
From Jason Swails <jason.swails@gmail.com>
To jmfauth <wxjmfauth@gmail.com>
Content-Type multipart/alternative; boundary=089e0111b16424771404d98f4418
Cc python list <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 <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.115.1365109256.3114.python-list@python.org> (permalink)
Lines 100
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365109256 news.xs4all.nl 6979 [2001:888:2000:d::a6]:43519
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42778

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Apr 4, 2013 at 4:28 PM, jmfauth <wxjmfauth@gmail.com> wrote:

> On 4 avr, 03:36, Steven D'Aprano <steve
> +comp.lang.pyt...@pearwood.info> wrote:
> > Although PEP 8 is only compulsory for the Python standard library, many
> > users like to stick to PEP 8 for external projects.
> >
> > http://www.python.org/dev/peps/pep-0008/
> >
> > With perhaps one glaring exception: many people hate, or ignore, PEP 8's
> > recommendation to limit lines to 80 characters. (Strictly speaking, 79
> > characters.)
> >
> > Here is a good defence of 80 char lines:
> >
> > http://wrongsideofmemphis.com/2013/03/25/80-chars-per-line-is-great/
> >
> > --
> > Steven
>
> -----
>
> With "unicode fonts",


Didn't see this coming.


> where even the monospaced fonts
> present char widths with a variable width depending on
> the unicode block (obvious reasons), speaking of a "text
> width" in chars has not even a sense.
>

Let's log this as an exception to the rule of 80.  There are plenty of
threads not-about-Unicode-but-are-now-about-Unicode that we don't have to
create another one.

Jason

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

In defence of 80-char lines Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-04 01:36 +0000
  Re: In defence of 80-char lines Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-03 20:59 -0500
  Re: In defence of 80-char lines Mitya Sirenef <msirenef@lightbird.net> - 2013-04-03 22:40 -0400
  Re: In defence of 80-char lines llanitedave <llanitedave@veawb.coop> - 2013-04-03 21:32 -0700
    Re: In defence of 80-char lines Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-04 06:33 +0000
    Re: In defence of 80-char lines gregor <gregor@ediwo.com> - 2013-04-04 08:40 +0200
    Re: In defence of 80-char lines Peter Otten <__peter__@web.de> - 2013-04-04 08:43 +0200
    Re: In defence of 80-char lines Tim Chase <python.list@tim.thechases.com> - 2013-04-04 06:09 -0500
    Re: In defence of 80-char lines Roy Smith <roy@panix.com> - 2013-04-04 07:52 -0400
      Re: In defence of 80-char lines llanitedave <llanitedave@veawb.coop> - 2013-04-04 08:28 -0700
    Re: In defence of 80-char lines Jason Swails <jason.swails@gmail.com> - 2013-04-04 08:18 -0400
    Re: In defence of 80-char lines Joshua Landau <joshua.landau.ws@gmail.com> - 2013-04-04 18:18 +0100
    Re: In defence of 80-char lines Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-04-04 18:22 -0400
  Re: In defence of 80-char lines rusi <rustompmody@gmail.com> - 2013-04-03 21:56 -0700
  Re: In defence of 80-char lines Rui Maciel <rui.maciel@gmail.com> - 2013-04-04 08:15 +0100
  Re: In defence of 80-char lines Jason Swails <jason.swails@gmail.com> - 2013-04-04 08:13 -0400
    Re: In defence of 80-char lines Roy Smith <roy@panix.com> - 2013-04-04 08:39 -0400
      Re: In defence of 80-char lines Jason Swails <jason.swails@gmail.com> - 2013-04-04 09:23 -0400
      Re: In defence of 80-char lines Neil Cerutti <neilc@norwich.edu> - 2013-04-04 15:56 +0000
      Re: In defence of 80-char lines Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2013-04-04 23:04 +0530
        Re: In defence of 80-char lines Roy Smith <roy@panix.com> - 2013-04-04 19:55 -0400
  Re: In defence of 80-char lines Mitya Sirenef <msirenef@lightbird.net> - 2013-04-04 12:12 -0400
  Re: In defence of 80-char lines jmfauth <wxjmfauth@gmail.com> - 2013-04-04 13:28 -0700
    Re: In defence of 80-char lines Jason Swails <jason.swails@gmail.com> - 2013-04-04 17:00 -0400
    Re: In defence of 80-char lines Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-05 00:14 +0000

csiph-web