Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52158
| From | Dave Angel <davea@davea.name> |
|---|---|
| Subject | Re: new to While statements |
| Date | 2013-08-08 01:31 +0000 |
| References | <69a10630-98dc-4a31-89ef-2770b3c1fd70@googlegroups.com> <CAN1F8qVtj3coXU_Q-VeJfvSmx3=C6q4QoJx5nOq0AUy_2Hb4QQ@mail.gmail.com> <mailman.296.1375852843.1251.python-list@python.org> <90lMt.30102$907.25512@fx17.iad> <ktu28k$1sh$1@ger.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.333.1375925491.1251.python-list@python.org> (permalink) |
Vito De Tullio wrote: > Dan Sommers wrote: > >>>> while "asking for reponse": >>> >>>> while "adventuring": >>> >>> that's a funny way to say `while True:`... >> >> Funny, perhaps, the first time you see it, but way more informative than >> the other way to the next one who comes along and reads it. > > While I understand that it's syntactically and semantically correct, my nose > still doesn't like it. > Neither does mine. There's no need for a trick here. "while True" reads better, and a comment (on the same line, preferably) can explain what the loop is for. -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
new to While statements krismesenbrink@gmail.com - 2013-08-06 20:38 -0700
Re: new to While statements snakeinmyboot <mikelhamer@gmail.com> - 2013-08-06 21:09 -0700
Re: new to While statements krismesenbrink@gmail.com - 2013-08-06 21:13 -0700
Re: new to While statements snakeinmyboot <mikelhamer@gmail.com> - 2013-08-06 21:17 -0700
Re: new to While statements Joshua Landau <joshua@landau.ws> - 2013-08-07 05:37 +0100
Re: new to While statements Vito De Tullio <vito.detullio@gmail.com> - 2013-08-07 07:20 +0200
Re: new to While statements Dan Sommers <dan@tombstonezero.net> - 2013-08-07 05:35 +0000
Re: new to While statements snakeinmyboot <mikelhamer@gmail.com> - 2013-08-06 22:42 -0700
Re: new to While statements Dan Sommers <dan@tombstonezero.net> - 2013-08-07 05:52 +0000
Re: new to While statements krismesenbrink@gmail.com - 2013-08-06 23:26 -0700
Re: new to While statements Vito De Tullio <vito.detullio@gmail.com> - 2013-08-07 20:05 +0200
Re: new to While statements Dave Angel <davea@davea.name> - 2013-08-08 01:31 +0000
Re: new to While statements Larry Hudson <orgnut@yahoo.com> - 2013-08-07 20:21 -0700
csiph-web