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


Groups > comp.lang.python > #31639

Re: A desperate lunge for on-topic-ness

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=6317566b9=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.025
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'broken': 0.03; 'thats': 0.07; 'code).': 0.16; 'def.': 0.16; 'imo,': 0.16; 'wrote:': 0.17; 'char': 0.17; 'pointed': 0.17; 'preferred': 0.20; 'do.': 0.21; 'long,': 0.24; 'header:In-Reply-To:1': 0.25; 'rules': 0.27; 'easiest': 0.27; 'lines': 0.28; '120': 0.29; "people's": 0.29; 'code': 0.31; '(and': 0.32; 'problem.': 0.32; '-----': 0.32; 'print': 0.32; 'zero': 0.33; 'to:addr:python-list': 0.33; 'themselves': 0.33; 'sometimes': 0.35; 'be.': 0.36; 'characters': 0.36; 'subject:: ': 0.38; 'fact': 0.38; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'think': 0.40; 'received:194': 0.61; 'limit': 0.65; 'strategies': 0.76; 'printers': 0.84
X-IronPort-AV E=Sophos;i="4.80,608,1344204000"; d="scan'208";a="810714"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Thu, 18 Oct 2012 15:59:18 +0200 (CEST)
From Jean-Michel Pichavant <jeanmichel@sequans.com>
To python-list@python.org
In-Reply-To <k5ovel$3t8$1@reader1.panix.com>
Subject Re: A desperate lunge for on-topic-ness
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Mailer Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC7 (Linux)/7.2.0_GA_2669)
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.2433.1350568745.27098.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350568745 news.xs4all.nl 6933 [2001:888:2000:d::a6]:41209
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31639

Show key headers only | View raw


----- Original Message -----
> On 2012-10-18, Zero Piraeus <schesis@gmail.com> wrote:
> 
> > What are people's preferred strategies for dealing with lines that
> > go
> > over 79 characters? A few I can think of off the bat:
> 
> I try to do what's easiest to read and understand.  Sometimes that
> means using a line thats 120 characters long, sometimes that means
> breaking up the line.
>

Imo, def. a good approach to the problem. Mark's also pointed the fact that the guidelines themselves state that rules are made to be broken when they need to be.
The 79 char limit purpose is to allow someone to read the code on a 80 char terminal (and allow old printers to print the code). If following this rules breaks readability for all other terminals, meaning 99,99% of them, you know what to do.

JM

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


Thread

Re: A desperate lunge for on-topic-ness Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-10-18 15:59 +0200
  Re: A desperate lunge for on-topic-ness Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-19 01:34 +0000
    Re: A desperate lunge for on-topic-ness Demian Brecht <demianbrecht@gmail.com> - 2012-10-19 10:59 -0700

csiph-web