Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21549
| References | <mailman.571.1331492028.3037.python-list@python.org> <4f5d4390$0$29891$c3e8da3$5496439d@news.astraweb.com> <jjl805$dlk$1@dough.gmane.org> |
|---|---|
| Date | 2012-03-13 08:59 +1100 |
| Subject | Re: How to break long method name into more than one line? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.598.1331589557.3037.python-list@python.org> (permalink) |
On Tue, Mar 13, 2012 at 3:24 AM, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote: > On 12 Mar 2012 00:30:08 GMT, Steven D'Aprano > <steve+comp.lang.python@pearwood.info> declaimed the following in > gmane.comp.python.general: >> I expect that naming rule was invented by either people who have heard of >> test driven development, but never actually done it, or by people so >> anally-retentive that if they make seven short car trips over an hour, >> they check the tyre pressure, oil and water seven times because "the >> manual says to check before *every* trip". >> > By which time they find they have to add air, oil, and water as: the > pressure gauge usage lets out some air each time; they've wiped a few > drops of oil onto a rag each time; and the radiator was still > hot&pressurized such that they got an "overfull" result. In defense of such rules: There's a period in every new programmer's life when it helps to learn a whole lot of principles; and if he's working on some collaborative project, rules are the easiest way to demand such behavior. Later on, you learn how and when it's safe to break the rules (and/or how to deal with rule conflicts), but the rules still have value. Just never treat them as laws of physics (in Soviet Physics, rules break you!). ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to break long method name into more than one line? Herman <sorsorday@gmail.com> - 2012-03-11 11:53 -0700
Re: How to break long method name into more than one line? Roy Smith <roy@panix.com> - 2012-03-11 15:11 -0400
Re: How to break long method name into more than one line? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-12 00:30 +0000
Re: How to break long method name into more than one line? Roy Smith <roy@panix.com> - 2012-03-11 20:43 -0400
Re: How to break long method name into more than one line? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-03-12 12:24 -0400
Re: How to break long method name into more than one line? Chris Angelico <rosuav@gmail.com> - 2012-03-13 08:59 +1100
Re: How to break long method name into more than one line? Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-03-13 11:30 +0100
Re: How to break long method name into more than one line? Chris Angelico <rosuav@gmail.com> - 2012-03-13 21:35 +1100
csiph-web