Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31686
| References | <mailman.2403.1350540402.27098.python-list@python.org> <90210f1e-c77c-4ac2-af68-2b598f0264c4@googlegroups.com> |
|---|---|
| From | Zero Piraeus <schesis@gmail.com> |
| Date | 2012-10-18 17:36 -0400 |
| Subject | Re: A desperate lunge for on-topic-ness |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2476.1350596242.27098.python-list@python.org> (permalink) |
: On 18 October 2012 11:55, Den <patentsvnc@gmail.com> wrote: > [...] I'm amused by the whole question, and others related > to PEP8. A quick aside, the width of our roads all go back to the > width of a two horse rig. The suggested maximum of 80 characters goes > back to teletype machines, and IBM cards, and character based > terminals [...] ... and the decisions made back in the day about line length on teletypes etc. were informed [perhaps unconsciously] by the rules of printed literature - and *those* rules have a *lot* of accumulated wisdom behind them. Robert Bringhurst's Elements of Typographical Style is very good on that stuff; one thing he points out is that, at root, what's comfortable is defined by the size of the human hand, the distance we hold a book from our eye, etc. ... and while we still live in a world composed of physical objects, a lot of that gut feeling about what's comfortable carries across into the digital world. The accepted rule in print is that lines of prose should be between 45 and 90 characters, with 66 being ideal for readability. Code is not prose, and the combination of fixed-width and much more variable line length aids readability, but however it came about, ~80 does seem to more or less work as a limit. I'm pretty slavish about adhering to PEP 8 these days. Programmers are an opinionated bunch, and we all, given the opportunity, will come up with our own set of obviously [goddammit] correct rules. Having a broadly sensible, authoritative set of guidelines that we grudgingly agree to follow makes working with other coders easier IMO. -[]z.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A desperate lunge for on-topic-ness Zero Piraeus <schesis@gmail.com> - 2012-10-18 02:06 -0400
Re: A desperate lunge for on-topic-ness Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-18 06:31 +0000
Re: A desperate lunge for on-topic-ness Hans Mulder <hansmu@xs4all.nl> - 2012-10-18 11:07 +0200
Re: A desperate lunge for on-topic-ness wxjmfauth@gmail.com - 2012-10-18 02:33 -0700
Re: A desperate lunge for on-topic-ness Tim Chase <python.list@tim.thechases.com> - 2012-10-18 06:05 -0500
Re: A desperate lunge for on-topic-ness Chris Angelico <rosuav@gmail.com> - 2012-10-18 21:01 +1100
RE: A desperate lunge for on-topic-ness "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-10-18 18:42 +0000
Re: A desperate lunge for on-topic-ness Ben Finney <ben+python@benfinney.id.au> - 2012-10-19 11:33 +1100
Re: A desperate lunge for on-topic-ness rusi <rustompmody@gmail.com> - 2012-10-18 20:35 -0700
Re: A desperate lunge for on-topic-ness Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-19 04:08 +0000
Re: A desperate lunge for on-topic-ness Zero Piraeus <schesis@gmail.com> - 2012-10-18 06:31 -0400
Re: A desperate lunge for on-topic-ness rusi <rustompmody@gmail.com> - 2012-10-17 23:55 -0700
Re: A desperate lunge for on-topic-ness Paul Rubin <no.email@nospam.invalid> - 2012-10-17 23:56 -0700
Re: A desperate lunge for on-topic-ness Grant Edwards <invalid@invalid.invalid> - 2012-10-18 13:16 +0000
Re: A desperate lunge for on-topic-ness Ben Finney <ben+python@benfinney.id.au> - 2012-10-19 11:39 +1100
Re: A desperate lunge for on-topic-ness Den <patentsvnc@gmail.com> - 2012-10-18 08:55 -0700
Re: A desperate lunge for on-topic-ness Neil Cerutti <neilc@norwich.edu> - 2012-10-18 16:13 +0000
Re: A desperate lunge for on-topic-ness Chris Angelico <rosuav@gmail.com> - 2012-10-19 03:21 +1100
RE: A desperate lunge for on-topic-ness "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-10-18 18:51 +0000
RE: A desperate lunge for on-topic-ness "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-10-18 18:50 +0000
Re: A desperate lunge for on-topic-ness Zero Piraeus <schesis@gmail.com> - 2012-10-18 17:36 -0400
Re: A desperate lunge for on-topic-ness Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-19 01:50 +0000
Re: A desperate lunge for on-topic-ness Den <patentsvnc@gmail.com> - 2012-10-18 08:55 -0700
Re: A desperate lunge for on-topic-ness Grant Edwards <invalid@invalid.invalid> - 2012-10-18 17:44 +0000
Re: A desperate lunge for on-topic-ness Gene Heskett <gheskett@wdtv.com> - 2012-10-18 18:53 -0400
Re: A desperate lunge for on-topic-ness Krzysztof Voss <shobbo@gmail.com> - 2012-10-19 15:16 -0700
Re: A desperate lunge for on-topic-ness Krzysztof Voss <shobbo@gmail.com> - 2012-10-19 15:16 -0700
csiph-web