Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2842
| Date | 2011-04-09 00:27 +1000 |
|---|---|
| From | Lie Ryan <lie.1296@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Fun python 3.2 one-liner |
| References | (1 earlier) <mailman.1381.1301429221.1189.python-list@python.org> <d9f11a36-8d93-4713-b8bd-dc2805836e86@j9g2000prj.googlegroups.com> <8vi963F9lhU1@mid.individual.net> <mailman.46.1302010711.9059.python-list@python.org> <4d9b3043$0$29991$c3e8da3$5496439d@news.astraweb.com> |
| Message-ID | <4d9f19d7$1@dnews.tpgi.com.au> (permalink) |
On 04/06/11 01:07, Steven D'Aprano wrote: > On Tue, 05 Apr 2011 15:38:28 +0200, Daniel Fetchinson wrote: > Personally, I find that the discipline of keeping to 80 characters is > good for me. It reduces the temptation of writing obfuscated Python one- > liners when two lines would be better. The *only* time it is a burden is > when I write doc strings, and even then, only a small one. Unless the editor I'm using has an 80-char autowrapping or a 80-char guiding lines, I tend to wrap docstring in ~40-60 char.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Fun python 3.2 one-liner Daniel Fetchinson <fetchinson@googlemail.com> - 2011-04-05 15:38 +0200
Re: Fun python 3.2 one-liner Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-05 15:07 +0000
Re: Fun python 3.2 one-liner Chris Angelico <rosuav@gmail.com> - 2011-04-06 01:19 +1000
Re: Fun python 3.2 one-liner Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-05 17:48 +0000
Re: Fun python 3.2 one-liner Daniel Fetchinson <fetchinson@googlemail.com> - 2011-04-05 19:54 +0200
Re: Fun python 3.2 one-liner Lie Ryan <lie.1296@gmail.com> - 2011-04-09 00:27 +1000
Re: Fun python 3.2 one-liner Raymond Hettinger <python@rcn.com> - 2011-04-05 17:10 -0700
Re: Fun python 3.2 one-liner Ben Finney <ben+python@benfinney.id.au> - 2011-04-06 13:59 +1000
Re: Fun python 3.2 one-liner Chris Angelico <rosuav@gmail.com> - 2011-04-06 11:34 +1000
Re: Fun python 3.2 one-liner Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-04-14 19:08 +0000
csiph-web